1. useradd (User Linux Command)If you do not wish to add a new user account by using a GUI tools, you can do it from a User Linux Command line with the useradd command.
useradd -mc "user name" -s /bin/bash johnThe previous command will create a new user account for user john. -mc options instruct a useradd comment to put a comment about new user which is very often used to specify user's full name. -s option will select the path for the default shell.
2. adduserAnother way to add a user is to use the adduser command. However this command may not be available on every distribution of Linux.
adduser johnand follow the instructions to add some details regarding the new user account.
Tags: Linux, command, user, Add, add new user, add user in Linux, adduser, common linux commands, Linux user command, new user, useful linux commands, user account in Linux, useradd
This work is licensed under a
Creative Commons Attribution-