OpenVZ Forum


Home » General » Support » No bash history in VE
No bash history in VE [message #8784] Wed, 06 December 2006 09:43 Go to previous message
ataraxis is currently offline  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


 
Read Message
Read Message
Read Message
Previous Topic: ERROR: Core::SplitDevPath: Cannot get device for
Next Topic: *SOLVED* nmap: Failed to find interface venet0 mentioned in /proc/net/route
Goto Forum:
  


Current Time: Sun Aug 31 15:46:26 GMT 2025

Total time taken to generate the page: 0.06817 seconds