env variables
I login as root to solaris9
env lists out many variables. Some of them are defined in /etc/profile Others are not defined there. Actually, where other variables are defined(Eg .. TZ,HZ etc..) Simillarly for echo $PATH displays /usr/bin /usr/sbin /usr/ucb Eventhough not defined in /etc/profile , .profile or .dtprofile |
Many variables may be assigned initial (default) values by the shell itself, or in the system startup scripts.
|
Thanks
Thanks.
My intrest is to know such files and scripts |
/etc/default/init set TZ and a couple other.
Not sure about the origin of this PATH, just noticed we got a different one when login through telnet. |
Thanks
Thank u Sir.
It seems, telnet and rlogin makes no difference. But local login makes a lot of difference. |
All times are GMT -5. The time now is 03:03 AM. |