LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-05-2006, 07:58 AM   #1
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Rep: Reputation: 31
Question 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

Last edited by AbrahamJose; 04-05-2006 at 08:01 AM.
 
Old 04-05-2006, 08:46 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Many variables may be assigned initial (default) values by the shell itself, or in the system startup scripts.
 
Old 04-05-2006, 12:19 PM   #3
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Original Poster
Rep: Reputation: 31
Post Thanks

Thanks.
My intrest is to know such files and scripts
 
Old 04-05-2006, 03:35 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
/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.
 
Old 04-18-2006, 12:31 PM   #5
AbrahamJose
Member
 
Registered: Feb 2006
Location: India
Posts: 167

Original Poster
Rep: Reputation: 31
Post Thanks

Thank u Sir.
It seems, telnet and rlogin makes no difference.
But local login makes a lot of difference.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
env variables ekdya Debian 3 03-14-2006 01:33 PM
cron and shell env variables lt_wentoncha SUSE / openSUSE 5 07-16-2005 01:20 PM
setting env. variables arunsri Slackware 3 03-26-2005 05:49 AM
where are the env variables set on boot? Pete Dogg Linux - Software 1 09-10-2003 02:37 AM
Open GL env.variables UB_KMA Linux - Newbie 1 08-04-2002 05:41 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration