Re: Pam won't let anyone login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 06, 2001 at 08:56:48PM -0500, Ben Logan wrote:
> I'm trying to put together a boot/root disk pair, and have run into
> some trouble with PAM.  The instructions in the Bootdisk-HOWTO didn't
> work at all, and I've been unable to resolve the problem by reading
> the PAM docs, although I got a little farthur.
[snip]
> I've got the /etc/passwd, /etc/group, and /etc/shadow files (copied
> from my RH box).  I've got all of the libraries mentioned in the file
> above plus:
> 
> ld-linux.so.2*  libc.so.6@        libnsl.so.1@       libtermcap.so.2*
> libc-2.2.2.so*  libdl.so.2*       libpam_misc.so.0*  security/
> libcrypt.so.1*  libnsl-2.2.2.so*  libpam.so.0*
> 
> I've also included /sbin/unix_chkpwd.
> 
> Here's the message I get when I try to login:
> 
> login: root
> Password:
> login(pam_unix)[40]: check pass; user unknown
> login(pam_unix)[40]: authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost=
> login[41]: FAILED LOGIN 1 FROM (null) FOR root, Authentication service cannot retrieve authentication info
> Login incorrect

I haven't checked glibc, but it may not have the functions needed to
find information about the users in it directly.  Try adding
libnss_files.so.2 to the /lib directory and see if that helps.

If not, /var/ftp (for the anonymous FTP chroot) is probably a good
example of a minimal setup to refer to, and it may include something
else you might be missing.

HTH,

Nalin





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux