unknown user root?
Bill's LFS Login
lfsbill at nospam.dot
Tue Feb 17 18:36:29 PST 2004
On Tue, 17 Feb 2004, Billy O'Connor wrote:
> "Kevin P. Fleming" <kpfleming at linuxfromscratch.org> writes:
> > Billy O'Connor wrote:
> >> Anyone ever see this?
> >> #whoami
> >> root
> >> #passwd root
> >> passwd: unknown user root
> >> Just something I saw someone having a problem with. ml archives
> >> don't show anything.
> > The obvious answer would be that they don't have root listed in
> > /etc/passwd, or whatever they are using for a system userlist.
> Nah, he cat'd /etc/passwd, root was there, and no pam in user
> either. Just puzzling to me, thought I'd ask.
That made me think, if shadow is installed, is the "x" ins the passwd
field in /etc/passwd? Maybe there was a pwconv failure? Or someone
manually edited something? My last question would be does it work ok for
other user names? If not, possible that the passwd command is not
installed properly or one of its other needed shared objects are
missing or corrupt?
With shadow, mine shows
libmisc.so.0 => /lib/libmisc.so.0 (0x40023000)
libshadow.so.0 => /lib/libshadow.so.0 (0x40034000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004c000)
libpam.so.0 => /lib/libpam.so.0 (0x40079000)
libpam_misc.so.0 => /lib/libpam_misc.so.0 (0x40082000)
libc.so.6 => /lib/libc.so.6 (0x40085000)
libdl.so.2 => /lib/libdl.so.2 (0x401a8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> LFS Unassigned
NOTE: I'm on a new ISP, if I'm in your address book ...
Fix line above & use it to mail me direct.
More information about the lfs-support