how can execute some commands when a user logs out
hi, i want to execute a set of commands when a user logs out.how can i do that?
thanks |
Maybe with edit a .bash_logout in the user directory
[ edit ] ...but only works if the user shell is bash I don't know the procedure for other shell |
csh is ~/.logout , just read the man page for w/e shell u r using and search for logout.
|
All times are GMT -5. The time now is 06:50 AM. |