Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] deleting appamor-profile in yast?
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


--
On a long enough timeline the survival rate for everyone drops to zero...

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

< Previous Next >
Follow Ups
References