From: Juha Laiho (jlaiho@ichaos.nullnet.fi)
Date: 01/28/93


From: jlaiho@ichaos.nullnet.fi (Juha Laiho)
Subject: Re: 2 Linux ques. (read faq:
Date: Thu, 28 Jan 1993 17:45:02 GMT

Randy.Edwards@f60.n128.z1.fidonet.org (Randy Edwards) writes:
> First, is the useradd command. I've got my /etc/skel directory all
>set up, and everything looks good. I can run useradd successfully and
>it'll create the new user's home directory, copy in the /etc/skel files
>-- and everything looks great: except the password. When I try to log
>in as the new user I created, it's a no-go. No password will work. If,
>as root, I change the user's password, and then try to log in as that
>user, I still can't.
>
Please see the 'useradd' man page. After that set the password expiration
time etc to something sensible (useradd -D -e expiration_days).
I have the expiration set to -1, and it seems to mean "no expire".

After this you can make a user with
  useradd -m username
  passwd -d username (if you want no password for the new user, or: )
  passwd username (and give a password)

..Wolf