LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 10-04-2006, 07:57 AM   #16
mackdav
Member
 
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
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
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.
 
  


Reply


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


All times are GMT -5. The time now is 06:07 AM.

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