OpenVZ Forum


Home » General » Support » cannot find command vzctl
icon14.gif  Re: cannot find command vzctl [message #32264 is a reply to message #32260] Tue, 29 July 2008 04:47 Go to previous message
DerekG is currently offline  DerekG
Messages: 2
Registered: July 2008
Junior Member
dowdle wrote on Mon, 28 July 2008 21:03

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.


I never really understood what "make the shell a login shell" meant, makes more sense now thanks Smile
 
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: Sun Aug 03 23:05:55 GMT 2025

Total time taken to generate the page: 0.77903 seconds