Solved

SU PAth Solaris 9

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Not able to see disks at the OS level 10 16
Error while installing rpm 1 63
Where to get php 5.6 for AIX 7.1? 5 66
UNIX SCP 5 47
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now