Hello, I am running SuSE Linux 6.2 (recently upgraded from SuSE 6.1). The useradd(8) command claims to have added a new user, and the /etc/passwd and /etc/shadow files have been updated. The new user's directory is created. However, attempts to set the password, remove the user, or log in as that user all fail. Please also notice that the "ls" command didn't properly map uid 502 to user 'deb'. tux:~ # useradd -m deb tux:~ # grep deb /etc/passwd deb:x:502:100::/home/deb:/bin/bash tux:~ # grep deb /etc/shadow deb:!:10839:0:99999:7:0:: tux:~ # passwd deb passwd: Unknown user deb tux:~ # ls -al /home/deb total 130 drwx------ 6 502 users 1024 Sep 5 01:40 . drwxr-xr-x 6 root root 1024 Sep 5 01:40 .. -rw-r--r-- 1 502 users 5742 Sep 5 14:51 .Xdefaults -rw-r--r-- 1 502 users 46 Sep 5 14:51 .Xmodmap lrwxrwxrwx 1 root root 10 Sep 5 01:40 .Xresources -> .Xdefaults -rw------- 1 502 users 0 Sep 5 01:40 .bash_history tux:~ # su - deb su: user deb does not exist I am puzzled by this failure...can anyone suggest what I should be doing differently, or where I should look to fix this? Thanks in advance, Andy -- Andy Stewart Founder, Worcester Linux Users' Group Worcester, MA, USA http://rob.millbury.net/~wlug -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello again, I have more strange info on this problem. I was able to successfully add a user (finally!). So, I added another bogus user and tried to delete that user with userdel. userdel said that the user was gone, but I then tried "su - bogus_user" and I succeeded in logging as that user (!). This shouldn't have happened...there was no entry for "bogus_user" in either /etc/passwd or /etc/shadow. Is the password information cached somewhere? What else would account for this bizarre behavior? Thanks, Andy -- Andy Stewart Founder, Worcester Linux Users' Group Worcester, MA, USA http://rob.millbury.net/~wlug Andy Stewart wrote:
Hello,
I am running SuSE Linux 6.2 (recently upgraded from SuSE 6.1). The useradd(8) command claims to have added a new user, and the /etc/passwd and /etc/shadow files have been updated. The new user's directory is created.
However, attempts to set the password, remove the user, or log in as that user all fail. Please also notice that the "ls" command didn't properly map uid 502 to user 'deb'.
tux:~ # useradd -m deb
tux:~ # grep deb /etc/passwd deb:x:502:100::/home/deb:/bin/bash
tux:~ # grep deb /etc/shadow deb:!:10839:0:99999:7:0::
tux:~ # passwd deb passwd: Unknown user deb
tux:~ # ls -al /home/deb total 130 drwx------ 6 502 users 1024 Sep 5 01:40 . drwxr-xr-x 6 root root 1024 Sep 5 01:40 .. -rw-r--r-- 1 502 users 5742 Sep 5 14:51 .Xdefaults -rw-r--r-- 1 502 users 46 Sep 5 14:51 .Xmodmap lrwxrwxrwx 1 root root 10 Sep 5 01:40 .Xresources -> .Xdefaults -rw------- 1 502 users 0 Sep 5 01:40 .bash_history
tux:~ # su - deb su: user deb does not exist
I am puzzled by this failure...can anyone suggest what I should be doing differently, or where I should look to fix this?
Thanks in advance,
Andy -- Andy Stewart Founder, Worcester Linux Users' Group Worcester, MA, USA http://rob.millbury.net/~wlug
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Andy Stewart Founder, Worcester Linux Users' Group Worcester, MA, USA http://rob.millbury.net/~wlug -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
astewart@world.std.com