Re: I hacked mine to run both login and logout scripts...
> I hacked my pam_script module to have
> both a login and a logout script,
I've been thinking of doing this for a while, but it is very simple to implement and so far I have no need for that, as /etc/X11/Xsession is usually sufficient. But it might be useful for other uses, such as on pam aware ftp servers.
Anyway, if you want to send me a patch I'll incorporate it into the main source in some way, or at least include the patch in the tarball.
I hacked mine to run both login and logout scripts...
I hacked my pam_script module to have both a login and a logout script, /etc/security/pam_script/log... respectively. Works wonders for doing screwy things when a user logs in! For example, I use a PHP script that hooks up to my LDAP server to find out where the user's home directory is located and Samba mounts it, doing smart permissions checking along the way. pam_mount wasn't flexible enough, and I have a web based file manager in PHP which does the same thing, so the code was nearly the same!
Send an "email" to my freshmeat box if you're interested!
An integrated suite of office and creative applications.
A GW-BASIC-compatible interpreter.