Module Idea

Thorsten Kukuk kukuk at suse.de
Fri Sep 14 22:23:17 UTC 2007


On Fri, Sep 14, B.J. Black wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all!
> 
> I haven't been able to find evidence of such a thing, so I thought I'd
> ask here before (re)writing one...

Hm, in which ancident Linux-PAM release did you look?
 
> I'm thinking it'd be handy to have a session module that would run an
> arbitrary command (as root) at session start/end/whatever.  I don't see
> one out there and think it'd be pretty easy to write it.
> 
> Maybe call it pam_exec or similar.

Then use pam_exec ;-)

"man pam_exec" tells you the necessary configuration.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Markus Rex, HRB 16746 (AG Nuernberg)




More information about the Pam-list mailing list