19 Jul
2010
19 Jul
'10
7:02 p.m.
On Mon, 2010-07-19 at 10:22 +0200, Laurent Blume wrote:
Hello all,
I have a question using PAM to authenticate on Solaris 10, with 2.0rc2. I need to set the user for auth-worker to root, else it will return "Unknown user". Is that expected? I'm using PAM, so why does it need access to /etc/shadow?
Well, if PAM is authenticating from /etc/shadow, then it needs read access to it. PAM runs in the same process as auth worker. If you're not authenticating from /etc/shadow (where then?), then something else is wrong.