Create new user account
adduser
utility
adduser
utilityadduser <USER>
useradd
utility
useradd
utilityuseradd -s /bin/bash -d /home/sysadmin/ -m -G sudo sysadmin
passwd sysadmin
-s /bin/bash
– Set/bin/bash
as login shell of the new account-d /home/sysadmin/
– Set/home/sysadmin/
as home directory of the new user account-m
– Create the user’s home directory-G sudo
– Make suresysadmin
user cansudo
.
Last updated
Was this helpful?