View Single Post
  #1   (View Single Post)  
Old 12th December 2010
yurtesen yurtesen is offline
Port Guard
 
Join Date: May 2008
Posts: 18
Default csh/history/su problem

Hello,

I have a problem where the history is not written to disk.

For example, user A logs into the machine and uses 'su -' to become root, if A does not logout properly but just closes his ssh client, the history is not saved. If A logs out from the machine properly, then closes the ssh client then the history is saved.

Perhaps the shell could be killed when user closes the ssh client and it is not able to write history?

Does anybody have a workaround?

Thanks,
Evren
Reply With Quote