|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to start in a bash shell everytime I logon to SunOS?
Hi
I logon to sunos boxes at work that starts in a ksh shell. I would like to login to a bash shell whenever I logon to the sunos boxes instead of having to login and type bash . I tried editing the .profile and added SHELL= usr/bin/bash however when I login I am still in the ksh shell. I checked passwd/etc and can see that it is listed as usr/bin/ksh for my user id. I cannot change this as I do not have the rights. Is it possible to just create one s Regards ES Last edited by Esa; 02-08-2010 at 05:14 PM.. |
| Sponsored Links | ||
|
|
|
#2
|
||||
|
||||
|
Add an "exec bash" to the end of your .profile.
|
|
#3
|
|||
|
|||
|
You can change your shell in the /etc/passwd file (ask your administrator to change for you)
|
|
#4
|
|||
|
|||
|
If your account is handled globally (i.e. LDAP, NIS or NIS+), you can change the shell yourself with the command: Code:
passwd -e /bin/bash |
|
#5
|
|||
|
|||
|
thx guys I will try to see if I can change the etc/passwd using passwd -e when I'm back at work if not I will try adding exec bash to .profile
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| korn shell .kshrc in sunos | shahnazurs | Shell Programming and Scripting | 3 | 12-24-2008 04:26 AM |
| How to Start a Shell as Login shell instead of ordinary shell | Sivaswami | Linux | 3 | 07-01-2008 01:52 PM |
| Unix Korn Shell Array Issue (SunOS) | Janus | Shell Programming and Scripting | 5 | 11-21-2006 07:19 PM |
| SunOS shell help | stevefox | Shell Programming and Scripting | 2 | 07-06-2006 05:09 AM |
| Migration of binary file from Sunos 5.8 to Sunos 5.9 | Arvind Maurya | UNIX for Advanced & Expert Users | 1 | 07-12-2005 06:23 AM |