Operating Systems > Linux and UNIX
adding users
(1/1)
Master of Reality:
i added a user to my system and used the "passwd" command to make it without a password.
I cant log into my new user account, it says bad login.
I set a password for it and used it and it still didnt work.
I thought.. "hmmm, maybe it didnt really make the user", i checked and the user i made was there.
Anyone know how to fix this?
voidmain:
Are you sure you set the "user"s password or "root"s password? If you are root and go to set the user's password but forget to include the username as a parameter to the "passwd" command you will be changing root's password and not the user's.
# passwd myuser
I actually did this once and realized I couldn't log in as root any more. Took me a few minutes to realize what I had done.
Master of Reality:
yes.. i did:
# passwd -l [username]
but i dont need the account i created anymore, so i deleted it
[ April 25, 2002: Message edited by: Master of Reality ]
Navigation
[0] Message Index
Go to full version