Mailinglist Archive: opensuse-security (240 mails)

< Previous Next >
Re: [suse-security] passwd does not work
  • From: "Keith Warno" <keith@xxxxxxxxxxxxxx>
  • Date: Fri, 18 Feb 2000 13:36:13 -0500
  • Message-id: <002001bf7a3f$08db95c0$9e0a010a@xxxxxxxxxxx>
Yep. I had this problem for a while before I figured out what it was w/
some help from a guy @ suse.

My solution _used_ to be to wait 10 or 15 seconds after calling useradd
before doing things like passwd and chfn, etc.

But the problem in 6.2 is nscd which caches user name/group stuff (in
addition to DNS stuff), and adduser doesn't clear this cache so the user is
cached as nonexistant.

nscd isn't necessary to run; you can disable it in /etc/rc.config. Or you
can remove the user/group config junk from /etc/nscd.conf



----- Original Message -----
From: "Tera" <z@xxxxxxxx>
To: <suse-security@xxxxxxxx>
Sent: 18 February 2000, Friday 04:48
Subject: [suse-security] passwd does not work


| I work with SuSE 6.2 kernel 2.2.10 on some linux-boxes
|
|
| Today I made a new user with "useradd <username>" (I was logged in as root
via ssh),
| and tried at the next command,
| to give this new user a password with passwd <username>.
|
| The system replies:
| passwd: Unknown user <username>
|
| but the user is listed in /etc/passwd and /etc/shadow
| but it is not possible to set a new password with "passwd".
|
| I checked the passwd-binary with tripwire, but checksums are OK
|
| Trying with "userdel" to remove the user, causes system to tell:
| userdel: user <username> does not exist
|
| so I decided to remove the lines manually.
|
| Might it be that the system is compromised by intruders?
| Am I blind for some easy things?
|
|
| Thanks for all ideas!
|
| Thomas Hartl
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
| For additional commands, e-mail: suse-security-help@xxxxxxxx
|
|


< Previous Next >
References