Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 10-04-2006, 07:57 AM   #16
Registered: Feb 2005
Distribution: RHEL, CentOS
Posts: 113

Rep: Reputation: 16

dav_y2k: For root running bash, you want to create a /.bash_profile with the commands to add the directory to your path; this will look something like:

export PATH=$PATH:/opt/sfw/bin
Old 10-04-2006, 02:42 PM   #17
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,703

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Originally Posted by mackdav
jlliagre: I am curious, why not just modify the root shell?
It is considered as a bad practice by many Solaris developers and support guys because it is known to break upward compatibility of some legacy shells and applications that assume root's directory is / and root's shell is the old bourne shell.
To avoid support issues, Sun has never accepted the numerous requests to have this modified, despite the large and increasing number of people wanting it.

Actually, what is even more a bad practice is simply beeing logged in as root. So in my opinion, anything that ease the situation of being logged in as root is to be avoided.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Package management awing_pilot Linux - Newbie 1 03-30-2005 12:41 PM
package management laydros Slackware 6 01-21-2005 06:43 PM
Is Management interface detected by Solaris ? markraem Solaris / OpenSolaris 1 07-06-2004 07:40 PM
Package management Ultimaterra2005 Red Hat 1 02-22-2004 12:02 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration