[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: login/logout scripting



> 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 debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: