Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] deleting appamor-profile in yast?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi freigeist,

thanks for info, did not work, is still there, but i got it this way:


1) ln -s /etc/apparmor.d/usr.bin.mywongsoftwarename /etc/apparmor.d/disable/
2) apparmor_parser -R /etc/apparmor.d/usr.bin.mywongsoftwarename
(this line gave me a warning message i do not know if id do anithing, found
somewhere in google)
3) i stopped appamor in yast.
4) delete /var/lib/apparmor/cache/usr.bin.mywongsoftwarename
5) delete /etc/apparmor.d/usr.bin.mywongsoftwarename
6) starting appamor in yast.

now its gone :-)))


simoN





Am 30.11.2017 um 00:08 schrieb Freigeist:
On 29/11/17 19:43, Simon Becherer wrote:

Hi,

how to delete in tumbleweed a app armor profile, wrongly insert in yast
modul-apparmor?

i do not see something to delet a profile inside yast-appamor....

simoN


Hello Simon,

I don't know how to handle apparmor with Yast but you can try the following
in a terminal window:

24.5 Deleting an AppArmor Profile

The following steps describe the procedure for deleting an AppArmor profile.

If you are not currently logged in as root, enter su in a terminal window.

Enter the root password when prompted.

Go to the AppArmor directory with cd /etc/apparmor.d/.

Enter ls to view all the AppArmor profiles that are currently installed.

Look for the profile you created.

Delete the profile with rm PROFILENAME.

Restart AppArmor by entering "systemctl reload apparmor" in a terminal window.

There is more information about handling apparmor from the commandline here:

https://doc.opensuse.org/documentation/leap/security/html/book.security/cha.apparmor.commandline.html#sec.apparmor.commandline.del



- --
B e c h e r e r GmbH
Sondermaschinenbau
Mauermatten Strasse 22
79183 Waldkirch
Germany

Tel.: (+49) (0)7681 3134
Fax: (+49) (0)7681 4378
Mail: info@xxxxxxxxxxx
Web: www.becherer.de

USt-ID-Nr.: DE 814912198
Registergericht: Freiburg HRB 701860
Geschäftsführer:
Dipl.-Ing. (FH), EWE Simon H. Becherer
Gerichtsstand / Sitz: Waldkirch

Es gelten ausschließlich unsere allgemeinen Liefer-
und Zahlungsbedingungen / Einkaufsbedingungen:
www.becherer.de/AGB

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJaH7j+AAoJEOuDxDCJWQG+wyoQAKivyyelO3PnGxpbvcLui0k2
sxpnXA5cNhSXLIyFYSUZKOiu2vYBx8aQxBIqL5qnJFFMwq0v+rewDvKKAjdmnPc9
ApBG5ihW3D6uIH+EUZ7qkw/Xq/p1la/bJcxTHyrMwsSdFp6yybSiuecOxqkTw1Jt
GjX+nGXMFuBWmVmZW7HVlb0F5p5gR/id07mBo3uM64xlmjcu25DeBSu6daEs3dwI
iuMpk4EJuFIiMNAOfkm7jxivkYp45R/Megflb9IJ/2L+Hv0PIpxc4cMbLN9V2XjX
GsWYubR0QT+tW2pJqKx2M0PAcmVHNYugU88RuOfXtu9SG8aN8UnbqJ3j7jxmVnyf
js5Iuf8DFLN7ITW61ZGFemGxlUdqebCsnmJGheS50c4bLYLIgFdWgpSQ1fvbxvYP
GYvcp3QkKmbH3zEu2dn7GjynO6xzaBp3RvIVyUMTbUknM5bDMPt8ybnQlpk6NfYm
N5WXy41cRbNGD3cMHvHALsxsZB9qgDo36WF1paGz1BK0mtkk+awdTF29hS5kXEIg
97YKp0heKO6TDkMXXk50SXA1lVcOyFKMsZ7hQ6z60XMpbW1fuNgCEHZTRVXsl+VA
8RjCSol93BEGPYyt/fASS7naNfzTB1v3/4fkRdlHIBgoHkz+XTeWkTMRpKT0WvG0
a4tNwRStDUF6AbwB5a2i
=Npqi
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups