> I want to run a certain script when someone logs in (run at user
> level)
> and another when they logout. I want them to run no matter what type
> of
> login is in progress (shell, ssh, xdm etc).

You could launch the script from the ~/.bash_logout
file like this:

exec script_name_here

You could do the same with in the ~/.bash_profile file.

Hope that helps, but i'm not sure that it answers your
question...

(==timothy==)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to