pam_exec and PAM_USER

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

 



Hi,

                I need to execute a script each time a user logs in, and the script needs the username. I’ve tried any number of things to get the PAM_USER environment variable and it always turns up empty.  I’m using RHEL5, can anyone tell me which section (auth,account, etc) I should put pam_exec in, and how should be accessing it from the script? It’s a bash script so I thought that $PAM_USER would be sufficient. But that never seems to work for me. L

 

-S.

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux