I need to execute some commands each time a user logs in or out of the system, on a per-user basis. How can I do it regardless of which login method is used:
a) a KDE/GNOME/whatever session from the usual graphical login as comes with RH; b) a console login; c) an ssh login from a remote computer; d) can't think of anything else at the moment... While (b) and (c) can be handled from sth like ~/.bashrc or ~/.bash_logout or whatever comes with the shell-of-the-day, (a) does not invoke any shell. On the other hand, X is already running by the time a user logs in via (a), I guess, so .xinitrc is not useful here. Suggestions? Thanks, -- Oleg Goldshmidt | [EMAIL PROTECTED] "If it ain't broken, it has not got enough features yet." ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
