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

Re: Pam thinks I am uid=0?



Martin Pool writes:
>Jul  1 08:58:49 buffalo PAM_pwdb[17274]: (su) session opened for user root by mbp(uid=0)
...
>That was what I thought was happening, but I didn't think it was
>necessarily a good thing.

su is, of course, setuid root.

The user name that is being authenticated is root
The uid of the process doing the authentication is 0, because su is setuid root
The logname of the user that called su was mbp

What's wrong?  I don't see the problem here.

michaelkjohnson

"Magazines all too frequently lead to books and should be regarded by the
 prudent as the heavy petting of literature."            -- Fran Lebowitz




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