[OpenAFS] pam-afs-session on OS X Lion

Russ Allbery rra@stanford.edu
Mon, 19 Dec 2011 12:51:19 -0800


Dave Botsch <botsch@cnf.cornell.edu> writes:

> And, pam_afs_ssion doesn't work in the screensaver pam.d config:

> Dec 19 14:45:53 tmp29 loginwindow[39876]: pam_afs_session(screensaver):
> pam_sm_setcred: entry (0x1)
> Dec 19 14:45:53 tmp29 loginwindow[39876]: pam_afs_session(screensaver):
> running /usr/bin/aklog.sh as UID 502
> Dec 19 14:45:53 tmp29 loginwindow[40153]: pam_afs_session(screensaver):
> cannot setuid to UID 502: Operation not permitted

Does Mac OS X not allow you to call setuid to the UID that you already
are?  Or is your UID something other than 502?  Or is the screen saver not
running as either root or as you?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>