LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
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.

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: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration