13,420
edits
Changes
no edit summary
Various Linux commands for user account management includes:
:* '''useradd''' - Creates a user account in /etc/passwd file (the option -m creates a home directory for the user)
:* '''userdel''' - Removes an existing user account contained in the /etc/passwd file (the option -r removes the user's home directory as well)
:* '''usermod''' - Modifies fields contained in the /etc/passwd file for that particular username
The '''/etc/skel''' directory can contain files (as a template) for newly created user accounts to have. This helps to automate the task of continually creating new accounts without having to create the same default files after account creation.