LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   how can execute some commands when a user logs out (http://www.linuxquestions.org/questions/programming-9/how-can-execute-some-commands-when-a-user-logs-out-185707/)

rddreamz 05-25-2004 01:38 PM

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

keefaz 05-25-2004 01:41 PM

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

infamous41md 05-25-2004 04:00 PM

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:09 PM.