From Fedora Project Wiki
< SystemConfig | users
System-config-users backend functionality
Here is list of all functions which should users backend provide
* Add and delete users * Add and delete groups * Assign user to the group * Set user's password, home directory, default shell and full name * Set user's UID * Set groups's GID * Set account/password expiration * Lock/unlock the account
Basic
what | where |
---|---|
Add and delete users | /etc/passwd |
Add and delete groups | /etc/group |
Rename users and groups | usermod -l & groupmod -n |
Assign user to the group | useradd -G group user |
Set user's password, home directory, default shell and full name | passwd, usermod |
Set user's UID | usermod -u |
Set groups's GID | groupmod -g |
Set account/password expiration | usermod -e/-f |
Lock/unlock the account | usermod -L/-U |