[ale] user created sucessfully :)

Joseph A Knapka jknapka at earthlink.net
Thu Oct 17 20:41:24 EDT 2002


Stephen Turner wrote:
> well that was a pain in the butt time but i finnally got it to work,
> thanks to the guy that said just remake the password in root later :) your
> a life saver, as for creating the user and password at once, is there a
> better way? i mean first you have to encrypt a password then type the
> encrypted password in with the name and all that? id like to try names and
> passwords with time limits later but im afraid to! lol,

The way I've always done this (and what I always imagined was
the standard way) is not to specify the password
when adding the user via useradd, but rather do "passwd <user>"
as root. Is there some particular reason why you need to
do it all in one step? Incidentally, there's no reason to
worry about people logging in before you assign the password -
if you don't specify a password, useradd puts an "*" or "!"
in the password field, which effectively means "don't allow
this user to log in".

Cheers,

-- Joe


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list