Author Topic: adding users  (Read 804 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
adding users
« on: 26 April 2002, 03:47 »
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?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
adding users
« Reply #1 on: 26 April 2002, 06:11 »
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.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
adding users
« Reply #2 on: 26 April 2002, 06:20 »
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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'