useradd

If you do not wish to add new user account to into your Linux system by using a GUI tools, you can do this task from a command line with useradd command.

useradd -mc "user name" -s /bin/bash john

The 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 use to specify user's full name. -s option will select path the a default shell.

adduser

Another way to add use is to use adduser command. However this command may not be available on every distribution of Linux. Simply type:

adduser john

and follow instructions to answer some details regarding to a new user account.

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: