Pamd su client to proxy User-Name shows as root
Hi Everyone, Summary: trying to 2 factor from client to proxy to auth on sudo su -, su root. On client in pam.d/su: auth sufficient pam_radius_auth.so ruser debug On proxy radius -X shows: .. User-Name = "root" And it rejects it because the user "root" does not exist, but "Bob" who is sudo su'ing does. Is there a way to get the client to send the id of the person logging in through sudo su - to show as "Bob" rather than "root". Thanks, Brad
brad wrote:
On proxy radius –X shows:
User-Name = “root”
Yes, because that's the user being authenticated.
Is there a way to get the client to send the id of the person logging in through sudo su - to show as “Bob” rather than “root”.
I don't think so. If there is a way, see the PAM documentation. Alan DeKok.
participants (2)
-
Alan DeKok -
brad