Projects / pam_script / Comments

Comments for pam_script

13 Feb 2003 23:12 iburger

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.

13 Feb 2003 08:22 SodaBrew

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!

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.