Re: Alternative shadow-file

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

 



Joachim,

On Sat, 24 Mar 2001, StyX wrote:

> Thanks for the tips everybody, but I haven't had too much luck yet. I'm
> no C guru, so I have no reasonable explanation of why it doesn't read
> /etc/secure/shadow... If someone could look into this, and tell me what
> I have to change, I would _REALLY_ appreciate it.

I see from below that you're using pam_unix.  You'll have a very hard time
getting pam_unix to use a different shadow file, because the code that
specifies the location of the shadow file isn't in pam_unix -- it's in libc.

There is a PAM module (not included with Linux-PAM) that can look in other
files for passwords:

 http://cpbotha.net/pam_pwdfile.html

> But what about the pam_limits problem? Does anyone know what the cause
> of that may be? I recompiled pam with debugging enabled, but it didn't
> make me any smarter. These are the messages I get when logging in:

This looks similar to a bug that showed up in Debian recently -- pam_limits
was compiled with capabilities support, and a bug prevented the calling
application from being able to set group memberships for the login.  The bug
has been fixed in the Debian package, but I don't know if there's anything
that needs to be changed in the main Linux-PAM source.

Steve Langasek
postmodern programmer





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

  Powered by Linux