6
To view and edit your profile using vim, enter
vim
/etc/apparmor.d/
profilename
in a terminal window.
7
Restart AppArmor and reload the profile set including the newly created one
using the
rcapparmor restart
command.
Like the graphical front-end for building AppArmor profiles, the YaST Add Profile
Wizard, aa-genprof also supports the use of the local profile repository under
/etc/
apparmor/profiles/extras
and the remote AppArmor profile repository.
To use a profile from the local repository, proceed as follows:
1
Start aa-genprof as described above.
If aa-genprof finds an inactive local profile, the following lines appear on your
terminal window:
Profile: /usr/bin/opera
[1 - Inactive local profile for /usr/bin/opera]
[(V)iew Profile] / (U)se Profile / (C)reate New Profile / Abo(r)t /
(F)inish
2
If you want to just use this profile, hit
U
(Use Profile) and follow the profile
generation procedure outlined above.
If you want to examine the profile before activating it, hit
V
(View Profile).
If you want to ignore the existing profile, hit
C
(Create New Profile) and follow
the profile generation procedure outlined above to create the profile from scratch.
3
Leave aa-genprof by hitting
F
(Finish) when you are done and save your changes.
To use the remote AppArmor profile repository with aa-genprof, proceed as follows:
1
Start aa-genprof as described above.
If aa-genprof detects a suitable profile on the repository server, the following
lines appear on your terminal window:
Repository: http://apparmor.opensuse.org/backend/api
Would you like to enable access to the profile repository?
304
Security Guide
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......