OpenVZ Forum


Home » General » Support » cannot find command vzctl
Re: cannot find command vzctl [message #32260 is a reply to message #32256] Tue, 29 July 2008 01:03 Go to previous messageGo to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Read the man page for su and discover the - and l flags. Either or both execute the login script of the user you are su'ing to (in this case root) so the environment variables are all set.

Compare the output of "echo $PATH" from both "su" and "su -" and you will see the difference.

This really isn't OpenVZ specific.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Vituozzo to OpenVZ migration
Next Topic: vzmigrate and shared filesystems
Goto Forum:
  


Current Time: Sat Sep 20 10:51:00 GMT 2025

Total time taken to generate the page: 0.06288 seconds