Tutorial - How do I create new user account in Ubuntu Linux from command line?
Use useradd command create a new user or update default new user information from command line.
Create sweta user account in Ubuntu Linux from command line, enter:
Setup a password:
Important files - /etc/passwd - User account information.
- /etc/shadow - Secure user account information such as password.
- /etc/group - Group account information.
- /etc/default/useradd - Default values for account creation.
- /etc/skel/ - Directory containing default files.
- /etc/login.defs - Shadow password suite configuration.