About the option CLOSE_SESSIONS.
Stef Bon <[email protected]> Wed, 10 Aug 2005 18:58:03 +0200
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm working with a module pam_script, which executes a script at login and logout. Very important - when logging out with the "login" command from the shadow package, is the option "CLOSE_SESSIONS". If omitted (or set to "no") no module will be executed/processed when a session is closed. I think this options should be included in login.defs.linux. At this moment this option is not in the login.defs and thus the default is used, which is "no". BTW: - this is only true in Linux. Look at a note in login.c linenr 1248 of shadow-4.0.7 or linenr 964 of shadow-4.0.11.1. Stef Bon