Solved

SU PAth Solaris 9

Posted on 2006-11-13
2
1,166 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

688 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