
77
Maintaining Your Security Profiles
Backing Up Your Security Profiles
Because you take the time to make profiles, it makes sense to back
them up. Backing up profiles might save you from having to re-profile
all your programs after a disk crash. Also, if profiles are changed, you
can easily restore previous settings by using the backed up files.
Backing up profiles can be done by copying the profile files to a speci-
fied directory.
1.
You should first archive the files into one file.To do this, open a ter-
minal window and type the following as root:
tar zclpf profiles.tgz /etc/subdomain.d
The simplest method to ensure that your security policy files are regu-
larly backed up is to include the directory
/etc/subdomain.d
in your
list of directories that you backup system archives.
2.
You can also use
scp
or a file management GUI to store the files
on some kind of storage media, on the network, or on another PC.
Changing Your Security Profiles
Maintenance of security profiles includes changing them if you decide
that your system requires more or less security for its applications. To
change
your
pr
of
i
l
es
i
n
Novel
l
AppAr
mor
,
r
ef
er
t
o
“
Editing a Novell
AppArmor Profile
”
on
page29.
Introducing New Software Into Your Environment
When you add a new application version or patch to your system, you
should always update the profile to fit your needs. You have several
opt
i
ons
t
hat
depend
on
your
company’
s
sof
t
war
e
depl
oyment
st
r
at
egy.
You can deploy your patches and upgrades into a test or production
environment and the following explain how to go about it with each
method.
If you intend to deploy a patch or upgrade in a
test
enviroment, the
best method for updating your profiles is to do one of the following:
•
Run the Profiling Wizard by selecting
Add Profile Wizard
in YaST.
This will update your application profile set with the current produc-
tions using minimal effort. For step-by-step instructions, refer to