LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-18-2006, 11:56 PM   #1
amlucent23
Member
 
Registered: Nov 2005
Location: Detroit Metro
Distribution: SuSE, but I also care for Ubuntu.
Posts: 38

Rep: Reputation: 15
How to change default shells in solaris 10 and other misc. questions


Well I am stumped. I'm not new to linux ( I've used Suse from version 8.2 up, Fedora Core 4/5, and Unbuntu) but in an effort to broaden my OS knowledge I have decided to try getting certified on Solaris 10. I obtained a boxed copy with media from work of version 3/05 and loaded it on my notebook, I have a few gripes.

How do I change the default shell to bash? (thats just annoying, why didnt they use the best shell as default?)

How do I update this? (can I get a package manager, yum, apt-get,... something) I have noticed that the current version is 6/06, can I update to that version from a repository in the terminal or anything?

Also a side note during the install i installed the optional Software cd (which contained a bunch of tools, packages, KDE, wine etc.) and I know it has not "completely" installed because none of the packages show on launch bar or in the shell. Do I have to do some further configuration?

By the way, anyone interested in solaris 10 security cert, Sun is offering a free beta test till July 28th http://www.sun.com/training/certific...aris/beta.html.

Can anyone at least point me to a solaris how to or tweaks guide?

Thanks in advance
 
Old 07-19-2006, 05:17 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can change your default shell by editing /etc/passwd. Bash is alredy installed in /usr/bin/bash, so edit /etc/passwd and change the last part of your user-id line from /bin/sh to /usr/bin/bash.
As for upgrading, I think that if you boot from the 6/06 CD/DVD, the installer will ask you if you want to upgrade your system (never done it though). Also there is the "Live update" which you can try.
 
Old 07-19-2006, 06:24 PM   #3
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 amlucent23
Well I am stumped. I'm not new to linux ( I've used Suse from version 8.2 up, Fedora Core 4/5, and Unbuntu) but in an effort to broaden my OS knowledge I have decided to try getting certified on Solaris 10. I obtained a boxed copy with media from work of version 3/05 and loaded it on my notebook, I have a few gripes.

How do I change the default shell to bash? (thats just annoying, why didnt they use the best shell as default?)
Shells, like colors and football teams, are a controversal matter of taste and personal preferences. There is no "best shell".
Former SunOS 4 users tend to prefer csh or csh likes, while SVR4 fans (like me) are more ksh / ksh93 supporters.
zsh has also its club.
Quote:
How do I update this? (can I get a package manager, yum, apt-get,... something)
There is no need to update, as bathory already mentioned, bash is already there and supported.
Unlike with most if not all Linux distributions, bash is just an optional package with Solaris, so you have to double check it's here before setting it as root 's default shell, which is anyway unrecommended.
For regular user accounts, there is no problem changing it (passwd -e /usr/bin/pash loginname), or setting it when creating the account.
Quote:
I have noticed that the current version is 6/06, can I update to that version from a repository in the terminal or anything?
Not from a repository, unless you create one for your own use, but that make no sense for a single machine.
However you can easily update from a 6/06 DVD which ISO image is downloadable for free.
Quote:
Also a side note during the install i installed the optional Software cd (which contained a bunch of tools, packages, KDE, wine etc.) and I know it has not "completely" installed because none of the packages show on launch bar or in the shell. Do I have to do some further configuration?
Try adding /opt/sfw/bin to your PATH, before the graphic environment is launched (in ~/.dtprofile).
Quote:
Can anyone at least point me to a solaris how to or tweaks guide?
Start with docs.sun.com
 
Old 07-21-2006, 10:45 AM   #4
amlucent23
Member
 
Registered: Nov 2005
Location: Detroit Metro
Distribution: SuSE, but I also care for Ubuntu.
Posts: 38

Original Poster
Rep: Reputation: 15
well Thanks for the quick reply, I was able to change the default shell but I became pretty fed up with the other shortcommings. Then I discovered that I may want to attempt a open solaris release to begin with, and I looked at Solaris Express, but I have really settled on nexenta OS. I installed and configured it without a hitch, it seems VERY stable (and its just an alpha release). I am very impressed with it! I seriously think I have found a new home! Forget Suse! When I get some time tonight I am going to try to figure out how to use dtrace and zones. Thanks for all your help.
 
  


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
Misc Questions shoaibi Linux - Software 4 10-27-2006 11:10 PM
Misc. Questions About 10.2 Duo Secundus Slackware 1 09-29-2005 05:40 AM
Misc Questions OlRoy Linux - General 3 12-09-2002 06:03 PM
Misc Questions.... ugenn Linux - General 2 06-27-2002 01:00 PM
Misc. Linux questions. ugenn Linux - Newbie 7 04-16-2002 09:42 AM

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

All times are GMT -5. The time now is 08:01 PM.

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