Sebastian Dransfeld wrote:
Sebastian Dransfeld wrote:

Corey Donohoe wrote:

I'll see about tending to this when I get home this evening.  Someone
recently mentioned that the pam_close_session is being called to
early, and should be called from entrance_login(which isn't possible).



Why isn't this possible? The documentation says that it should be possible to run pam_open_session and pam_close_session from two different processes.


Sebastian


Seems to work here. See the applied patch. pam_console expects PAM_USER and PAM_TTY to be set.

Sebastian

Seems to be another issue to take care of. By using "service dm restart" in Mandrake, the script kills entranced which again kills entrance_login somehow. When this happends, the session isn't closed properly. Maybe "end_user_session" should be called regardless of the returnvalue from waitpid?


Sebastian


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to