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

Re: PAM_pwdb reports user as root



"Robert T. Bevill" writes:
>Why is PAM reoprting this?
>
>Apr 17 17:28:47 olympus PAM_pwdb[5420]: (login) session opened for user jsmith by tjones(uid=0)

Because su is setuid root.  pam_pwdb is telling you that it knew that the
name of the user for which session was being started was tjones, but the
actual uid opening the session was root.  That is actually the correct
way for it to be done (some session modules require that they be called
as root; those that need user permissions can setreuid to get user
permissions); perhaps the message ought to be clarified a bit...

michaelkjohnson

"Magazines all too frequently lead to books and should be regarded by the
 prudent as the heavy petting of literature."            -- Fran Lebowitz
 Linux Application Development       http://www.redhat.com/~johnsonm/lad/



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