Solved

SU PAth Solaris 9

Posted on 2006-11-13
2
1,164 Views
Last Modified: 2013-12-27
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
Comment
Question by:mrsmileyns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
mrsmileyns earned 0 total points
ID: 17931182
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question