Re: How can I remove PAM from my system?
Ben Collins wrote:
>
> > node01:/usr/share/doc/rsh-server# getent passwd exa
> > exa:x:1000:1000:Eray 'exa' Ozkural,,,:/home/exa:/bin/bash
> > node01:/usr/share/doc/rsh-server# getent shadow exa
> > Unknown database: shadow
> > Try `getent --help' or `getent --usage' for more information.
>
> Check the getent(1) manpage. It does not have shadow as one of it's
> databases. First off, I notice that the password does not show, so I
> assume that maybe it is getting 'x' as the password, and PAM is
> disallowing on that basis. Perhaps there is a permission issue.
Yes. Still, I don't understand why shadow is not one of the databases
as the shadow information is carefully omitted from passwd when I tell NIS
to merge them (shadow merged into passwd). It would be nice if there
was a way to tell whether glibc has the correct authentication information.
The problem was with shadow. passwd database seemed to be right, but
I think shadow wasn't. What confused me was the fact that the same
setup somehow worked before upgrade. Replacing "compat" with "nis"
in nsswitch.conf fixed the problem for me.
Thanks,
--
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo
Reply to:
- Prev by Date:
Re: How can I remove PAM from my system?
- Next by Date:
Re: ITP: powermanga, rcalc, gniall, broadcast2000, mpeg2movie, xmovie, dgen, ez-ipupdate, netsh, narval, koalamud, smaug, papaya
- Previous by thread:
Re: How can I remove PAM from my system?
- Next by thread:
Re: How can I remove PAM from my system?
- Index(es):