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

Re: pam question



On Sun, Jul 18, 1999 at 10:25:53AM -0700, R Garth Wood (Stormix) wrote:
> On Sat, 17 Jul 1999, Michael Stone wrote:
> > I'm trying to compile xlockmore with pam support (it's already got an
> > enable-pam option.) Doesn't work, though--pam_authenticate always
> > returns 7 (auth failed.) Is there some way to find out _why_ it's
> > failing? (And if this isn't the right debian list for such a question,
> > which would be?)
> 
> Did you run it as root? If it cannot read /etc/shadow then it can't
> auth. Look for pam_authenticate() in the source if the above is not
> the case and gdb it.

I've done it a lot of ways: setuid root, setgid shadow, set nothing at
all, with an /etc/pam.d/xlock and without. I did gdb: it looks like the
right password is being sent to pam_authenticate, but all it ever
returns is 7. I don't know what else to look for.

Mike Stone


Reply to: