PAM modules ordering
Hello,
I was wondering, is there a list of pam modules that need to be called between pam_selinux close/open?
On Fedora I see pam_loginuid, but are there other modules that must be in between, or can all the other modules be after the "pam_selinux open" one?
Cheers,
Laurent Bigonville
Quoted 9 lines · Laurent Bigonville
Hello,
I was wondering, is there a list of pam modules that need to be called between
pam_selinuxclose/open?On Fedora I see
pam_loginuid, but are there other modules that must be in between, or can all the other modules be after the "pam_selinuxopen" one?
Quoted 10 lines
Cheers,
Laurent Bigonville
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].
No, only thing that should not be called after pam_selinux open is an app that wants to run a priv command. pam_selinux open is setting the user context, so any apps that are executed after the open will be executed in the users context, Any app that is executed before the open will be executed as the context of the login program.
pam_selinux will also change the labels on ttys.
Quoted 7 lines · Daniel J Walsh
No, only thing that should not be called after
pam_selinuxopen is an app that wants to run a priv command.pam_selinuxopen is setting the user context, so any apps that are executed after the open will be executed in the users context, Any app that is executed before the open will be executed as the context of the login program.
pam_selinuxwill also change the labels on ttys.
Thanks for your answer, I guess I'll have to change what's Debian is currently doing, and change to Fedora's way (pam_loginuid before pam_selinux open and the rest after)