Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-21 Thread Fernando Lopez-Lezcano
On 06/21/2012 02:59 AM, Lennart Poettering wrote: On Wed, 20.06.12 21:26, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Thanks for the advice, sounds like the right solution[*]. I managed to get pam_script going. Right now it is at the end of postlogin in /etc/pam.d/ (after several

Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-21 Thread Fernando Lopez-Lezcano
On 06/21/2012 10:01 AM, Fernando Lopez-Lezcano wrote: On 06/21/2012 02:59 AM, Lennart Poettering wrote: On Wed, 20.06.12 21:26, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Thanks for the advice, sounds like the right solution[*]. I managed to get pam_script going. Right now

Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-21 Thread Fernando Lopez-Lezcano
On 06/21/2012 10:01 AM, Fernando Lopez-Lezcano wrote: On 06/21/2012 02:59 AM, Lennart Poettering wrote: On Wed, 20.06.12 21:26, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Thanks for the advice, sounds like the right solution[*]. I managed to get pam_script going. Right now

Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-20 Thread Fernando Lopez-Lezcano
On 06/18/2012 10:42 AM, Lennart Poettering wrote: On Mon, 18.06.12 10:04, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Thanks for any advice! Hmm, so there are multiple ways to achieve this, but it really depends on what you are trying to do here. May I ask what kind of script

Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-20 Thread Fernando Lopez-Lezcano
On 06/18/2012 10:42 AM, Lennart Poettering wrote: On Mon, 18.06.12 10:04, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Thanks for any advice! Hmm, so there are multiple ways to achieve this, but it really depends on what you are trying to do here. May I ask what kind of script you

Re: [systemd-devel] login/logout hooks in fedora 17?

2012-06-18 Thread Fernando Lopez-Lezcano
On 06/18/2012 09:45 AM, Lennart Poettering wrote: On Thu, 14.06.12 11:15, Fernando Lopez-Lezcano (na...@ccrma.stanford.edu) wrote: Heya, Hi Lennart, Any suggestions on how I may run a script when a user logins or logouts of the graphical console? I used to do this with gdm by customizing

[systemd-devel] login/logout hooks in fedora 17?

2012-06-15 Thread Fernando Lopez-Lezcano
Hi all, Any suggestions on how I may run a script when a user logins or logouts of the graphical console? I used to do this with gdm by customizing the Post* and Pre* scripts in /etc/gdm. I see that the login/logout process is (appears to be) controlled by systemd. What would be a good approach