Re: command history [message #22210 is a reply to message #22180] |
Tue, 23 October 2007 14:35   |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi,
i might misunderstand you, but shell history is enabled inside a VE by default. History is saved in .bash_history (or other file if you use another shell) and if a user doesn't change HISTFILE, HISTSIZE/HISTFILESIZE environment variables the history will be logged.
i'd note that this is true if a user logged into the VE via ssh, not via "vzctl enter". "vzctl enter" sessions are not logged and these sessions are not a "user" shell sessions.
Best regards,
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|