BIP KB:
How To add a new user Linux command
Article By tommy
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. adduser
Another way to add a user is to use the adduser command. However this command may not be available on every distribution of Linux.Simply type:
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
Spin Up A VPS Server In No Time Flat
Simple Setup
Full Root Access
Straightforward Pricing
DEPLOY A SECURE VPS SERVER TODAY!Leave a Reply
Feedbacks
![]() This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. |