Written by Guillermo Garron .
Date: 2012-11-29 15:43:32 +0000
This is a command all Linux administrators should know, because they are the people in charge of creating users accounts, this will be one of three different posts about managing users.
useradd, creates a new user or update default new user information.
useradd [options] LOGIN
Some of its options are:
- -d home directory
- -s starting program (shell)
- -p password
- -g (primary group assigned to the users)
- -G (Other groups the user belongs to)
- -m (Create the user’s home directory
useradd -g primary_grp -G admin -s /bin/shell -p xxxx -d /home/user -m user
If you enjoyed the article, please share it
comments powered by Disqus
My name is Guillermo Garron. I am telecommunications engineer from Bolivia
I like technology a lot, and this site is mainly dedicated to that
Posts via email
If you use the letter icon above and subscribe to my tinyletter newsletter, you will get one to two emails, related to this site, or not. If what you want is to get the posts of this site via email, use the form below