On Die, 2005-09-27 at 15:22 +0200, Stef Bon wrote:
> Now I've been working on a construction to execute scripts when a user logs
> in and logs out. It's based on the pammodule pam_script, which is part of
> the sessionpart of the login (and kdm) service. I've written a script about
> this: (restoresettingsaslogin) 
> "Storing and retrieving settings per user at login and logout using PAM."
> This is only an example. I'm working on an simular construction using FUSE,
> fusesmb and pam_storepw to browse the network. In this case a script for a
> user has to be executed by/for the user logging in (fusesmb $mountpoint).
> 
> The session part of PAM is ideal for this IMHO.

I don't know how pam_script exactly works but you must keep in mind that
dbus-launch needs to pass envirionment variables to the whole graphical
session, it can't be started completely separately.

Jürg
-- 
Jürg Billeter <[EMAIL PROTECTED]>

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to