Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 342 #368
i
i
i
i
i
i
i
i
16.2.3 Configuring SCPM
SCPM must be activated before use. By default, SCPM handles network
and printer settings as well as the XFree86 configuration. To manage special
services or configuration files, activate appropriate resource groups. To list
the predefined resource groups, use scpm list_groups. To see only the
groups already activated, use scpm list_groups -a. Issue these com-
mands as root on the command line. Activate or deactivate a group with
scpm activate_group NAME or scpm deactivate_group NAME. Re-
place NAME with the relevant group name. All the resource groups can also
be configured with the YaST profile manager.
Activate SCPM with scpm enable. When run for the first time, SCPM
is initialized, which takes a few seconds. Deactivate SCPM with scpm
disable at any time to prevent the unintentional switching of profiles.
A subsequent reactivation simply resumes the initialization.
16.2.4 Creating and Managing Profiles
A profile named default already exists after SCPM has been activated.
Get a list of all available profiles with scpm list. This only existing profile
is also the active one, which can be verified with scpm active. The profile
default is a basic configuration from which the other profiles are derived.
For this reason, all settings that should be identical in all profiles should
be made first. These modifications are then stored in the active profile with
scpm reload. The profile default can be used, renamed, or deleted.
There are two possibilities to add a new profile. If the new profile (named
work here) should be based on the profile default, create it with
scpm copy default work. The command scpm switch work changes
into the new profile, which can then be modified. Sometimes the system
configuration was modified for special purposes that should be kept in a
new profile. The command scpm add work creates a new profile by sav-
ing the current system configuration in the profile work and marking it as
active. Running scpm reload then saves changes to the profile work.
Rename or delete profiles with the commands scpm rename x y and
scpm delete x. For example, to rename work to project use scpm
rename work project. Delete project with scpm delete project.
The active profile cannot be deleted.
The YaST module only offers an ‘Add’ button. Pressing it opens a dialog in
which to select whether an existing profile should be copied or the current
system configuration should be saved. Use ‘Edit’ for renaming.
342
16.2. SCPM — System Configuration Profile Management