Stopping and starting the session dbusdaemon with PAM.

Stef Bon stef at bononline.tk
Fri Oct 21 04:09:15 PDT 2005


Hello,

I've been working on a sollution to run scripts when a session begins, and 
when a session ends. This possible via the module pam_script.so.

One of the things I use it for is to start the session part of dbus. The 
important environmentvariables are made available via the startupfiles of 
bash. I had to adjust my bash installation (.bash_profile) a little.

When the session ends another script stops this sessiondaemon.
On my system (LFS/BLFS6.1 www.linuxfromscratch.org ) everything works fine.

Any comments?

Stef Bon 


More information about the dbus mailing list