Computing.Net > Forums > Solaris > profile for root

profile for root

Reply to Message Icon

Original Message
Name: Sandra
Date: March 25, 2001 at 15:01:17 Pacific
Subject: profile for root
Comment:

I know I can set the environment for normal user in .profile (Bounce shell), but why can't I find the same file for supersuer? Of course, if I create a .profile file in "/", it works. The problem is where are the default settings located in root? for example $PATH ?

Thanks
Sandra



Report Offensive Message For Removal


Response Number 1
Name: Freddy
Date: March 25, 2001 at 22:07:51 Pacific
Reply: (edit)

Hi,
You've already got the answer, add the variable PATH in the .profile in /. For superuser profile, you should have a variable PATH creating during install, including the path to binary.

For normal user, you can find default profile in /etc/skel.

Freddy




Report Offensive Follow Up For Removal

Response Number 2
Name: oliver
Date: March 26, 2001 at 11:09:48 Pacific
Reply: (edit)

system wide settings are in /etc/profile but I have no idea where root gets it's path from


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: profile for root

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge