Articles

Setting the Path for Root

SunBlade 150
December 11, 2007 at 15:34:38
Specs: Solaris 10, 1024 mb ram, not sure of

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 though, it never finds anything except the usual stuff it would find with an unedited path.Any ideas as to why it isn't taking effect for root?


See More: Setting the Path for Root

Report •


#1
December 11, 2007 at 18:02:10

Have you tried making your changes in root's .profile? The root home directory is typically set to the root directory, /. It doesn't have to be. Check root's entry in /etc/passwd for that info.

Report •

#2
December 13, 2007 at 19:29:24

That didn't really take care of it. Any other ideas?


Report •

#3
December 14, 2007 at 15:49:51

bash ksh deal?

I read it wrong and answer it wrong too. So get off my case you peanut.


Report •

Related Solutions


Ask Question