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
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 ?
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
Summary: How do I set the path for root? I did a PATH=/....... in my /etc/profile file, and it works just fine for the normal users on my system. When I try to run anything specified in the path as root thoug...
Summary: Hello, I search to change the default profile for root. For the moment, sh is the default shell and i would to replace it by bash. Any have an idea ? Thanks. ...
Summary: Hi All, I was trying to change the default login shell for root from sh to tcsh on Solaris 8 in the /etc/passwd file. Accidentally, the path inserted was an invalid one. Unfortunately, there are no ot...