Linux User creation

How to add a user in Linux ?
useradd is the command to adduser in Linux
useradd is having following option:
(1) useradd
-d "/home/user1" --> user home directory
-c " THIS IS  a test user" ---> Comment about the user
-s "/bin/bash"   --->Shell for the user other option are /bin/csh,/sbin/nologin
-g "Group name"-->Group name for user
User name
#useradd -d /home/dir -c "this is a admin user " -s /bin/bash -G staff user1











Popular posts from this blog

Password Expiry notification for the users in zimbra 8.x within 7 Days for the email users

Zimbra backup open source for zimbra 8.x for 7 Days