Computing.Net > Forums > Solaris > profile for root

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

profile for root

Reply to Message Icon

Name: Sandra
Date: March 25, 2001 at 15:01:17 Pacific
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




Sponsored Link
Ads by Google

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

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




0

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

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Need Advice in Solaris Ce... NETCARD



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: profile for root

Setting the Path for Root www.computing.net/answers/solaris/setting-the-path-for-root/4966.html

how to change sh => bash in profile www.computing.net/answers/solaris/how-to-change-sh-bash-in-profile/2883.html

Invalid default login shell for root www.computing.net/answers/solaris/invalid-default-login-shell-for-root/1078.html