GenProf, LogProf, SD_AddProfile, SD_DeleteProfile, SD_EditProfile, SD_Report,
and subdomain
These modules control or configure AppArmor. AppArmor has its own command
line tools.
8.13.1 Managing Users
The YaST commands for user management, unlike traditional commands, considers
the configured authentication method and default user management settings of your
system when creating, modifying, or removing users. For example, you do not need
create home directory or copy skel files during or after the user addition. If you enter
the username and password, all other settings are made automatically in accordance
with default configuration. The functionality provided by the command line is the same
as in the graphical interface.
The YaST module users is used for user management. To display the command op-
tions, enter yast users help.
To add multiple users, create a /tmp/users.txt file with a list of users to add.
Enter one username per line and use the following script:
Example 8.2 Adding Multiple Users
#!/bin/bash
#
# adds new user, the password is same as username
#
for i in `cat /tmp/users.txt`;
do
yast users add username=$i password=$i
done
Similarly to adding, you can delete users defined in /tmp/users.txt:
184
Installation and Administration
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 and is the answer not in the manual?
Questions and answers