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?
TIA!
Laurent
service auth-worker {
# Auth worker process is run as root by default, so that it can access
# /etc/shadow. If this isn't necessary, the user should be changed to
# $default_internal_user.
user = root
#user = dovecot
}
Jul 18 09:59:31 tiphaine dovecot: [ID 583609 mail.info] auth:
pam(user,127.0.0.1): unknown user
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.