Re: Trapping user logins in python ( post #1)

2005-07-04 Thread Patrick Rutkowski
On Monday 04 July 2005 13:49, Jeff Epler wrote: > I don't know of a portable way for an inetd-style daemon to "listen" for > user logins. > > On some systems (including RedHat/Fedora and debian), you may be able to > use PAM to do this. (pam modules don't just perform authentication, > they can ta

Re: Trapping user logins in python ( post #1)

2005-07-04 Thread Jeff Epler
I don't know of a portable way for an inetd-style daemon to "listen" for user logins. On some systems (including RedHat/Fedora and debian), you may be able to use PAM to do this. (pam modules don't just perform authentication, they can take other actions. As an example, pam_lastlog "prints the l

Trapping user logins in python ( post #1)

2005-07-04 Thread thinkgeek
I am writting a daemon in python which should start at system start up with all inet.d serviceson an NIS server. Then it should listen to any user login and then start a new process for that user on his login which will continue throughout his entire session. Can anyone give any help or any sugges