• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1175
  • Last Modified:

SU PAth Solaris 9

I have a Solaris 9 server on SPARC.  I have modified the /etc/default/login/ file to include /usr/local/bin/ in the SUPATH.  When I login from the console as root I get this path - but when I su to root as my normal user account i do not have my moidifications to the path when i do echo $PATH.  How can I get it so when I su to root I get the appropriate path?
0
mrsmileyns
Asked:
mrsmileyns
1 Solution
 
mrsmileynsAuthor Commented:
I think I figured this out myself - I modified and uncommented the SUPATH in  /etc/default/su/ to reflect the path I need.  It seems to work.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now