General Login Script

Florian Diesch diesch at spamfence.net
Fri Sep 8 20:11:54 UTC 2006


Wim Bertels <wim.bertels at khleuven.be> wrote:

> does anyone know a way to force a general login script?

I would try to do it using PAM

> eg:
> on starting a shell: .bashrc is executed,
> but i'm looking on a script that is executed on any kind of login
> (shell, gdm, ssh,..) and possible another script that is executed on the
> matching logouts?

> Suggestions, maybe something only that works for gdm? (gnome, xfce)

For gdm have look at the scripts in /etc/X11/gdm


   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list