OpenVZ Forum


Home » General » Support » Vzctl and VPS variables
Re: Vzctl and VPS variables [message #3756 is a reply to message #3755] Wed, 14 June 2006 14:25 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Note that /etc/profile is for interactive shells. From the bash(1) man page:

Quote:

When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists.


So, /etc/profile is not the correct file to set up environment used by non-interactive scripts. See man bash or info bash for more info.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Previous Topic: no firewall?
Next Topic: *SOLVED* Time inside vps differs from the host machine
Goto Forum:
  


Current Time: Tue Aug 26 19:30:12 GMT 2025

Total time taken to generate the page: 0.14522 seconds