From: Allen Mar (allenm@sfu.ca)
Date: 09/01/93


From: allenm@sfu.ca (Allen Mar)
Subject: Re: Setting up user accounts
Date: Wed, 1 Sep 1993 07:36:39 GMT

bilan@cps.msu.edu (Thomas J Bilan) writes:

>I couldn't find adduser in my SLS distribution so I am trying to add users
>via useradd. Right after I add them, I see their names in the /etc/passwd
>file but I cannot log in! The passwd file is set for -rw-rw-r-- and
>there is no /etc/nologin file. I know I am missing something relatively
>easy because I haven't had this problem in previous installations.

After you've created the user with useradd, use the passwd utility to set
the password of the newly added user. Let's say you did a 'useradd tom',
then issue this command 'passwd tom xyzzy' for example. Now the password
is set for user 'tom'. NOW you can login as 'tom'.

>I even set up /etc for drwxrwxrwx but nothing.

>I'm getting a "Login incorrect" error message.

>Whe I played around with the /etc/shadow file I got to log in but it told
>me my password had expired and was going to let me change it but then said
>I couldn't, the password was locked.

>Thanks,
>Tom Bilan

73 de Al VE7DPM
allenm@wizard.ucs.sfu.ca