No bash history in VE [message #8784] |
Wed, 06 December 2006 09:43  |
ataraxis
Messages: 19 Registered: August 2006
|
Junior Member |
|
|
Hi,
When I enter a machine with vzctl enter <NAME>, not all environment variables are set.
I have read that OpenVZ devs see vzctl enter as last ressort to enter a machine, but I would still like to use it as a normal way.
For example:
HISTFILE=/dev/null
after a su - :
HISTFILE=/root/.bash_history
What does su - do?
Disadvantage of su is, that I have to type exit twice.
Any ideas?
Ataraxis
|
|
|