Adding new users

Jeff mr2323a at comcast.net
Fri Mar 22 16:02:56 PST 2002


From: "ira mendell" <ibm at bestweb.net>
>     I've searched through the lfs hints and faq and have read the man
> useradd; man passwd and man groupadd.
> I want to add a user, add its password and add its new group.  Am I on
> the right track with the following command:
> useradd -m<newuser> -n<newuser> -p<newuser password> -u<newuser>
My man page doesn't show a useradd -n option. ??
If creating a new user in a new group, you have to create the group _first_,
then add the user to that group.

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list