Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
Search Forums:



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.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Angry shell problem for root

hi
i was just playing with my x86 machine with solaris10 on it
what i hated was whenever i started my new terminal it started with sh shell
so i changed it to bash by changing the last value in /etc/passwd to/sbin/bash
and then i logged out and started again BBUT it said no login shell
i tried from cmd line also but in vain please somebody help me ASAP

thnks
Sponsored Links
    #2  
Old 01-06-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 4,737
Thanks: 36
Thanked 139 Times in 136 Posts
path to bash is:

/usr/bin/bash

enter the correct path in /etc/passwd and try again...
Sponsored Links
    #3  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Red face how to solve root login shell problem

thnks for the help my problem is solved by using single mode and i have change the shell back to sh using the post http://www.unix.com/sun-solaris/8345...problem-2.html
Thou i will do the above process again by using /usr/bin/bash and tell u again about the succes

Last edited by tiwsaj; 01-06-2009 at 07:18 AM..
    #4  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
can u pls tell me the path of sh
Sponsored Links
    #5  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
another que why do we need two dir in solaris 10 as /home and /export/home thou the latter is mounted with slice7 by default and /home is kept alone any body has a reason for this
Sponsored Links
    #6  
Old 01-06-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 4,737
Thanks: 36
Thanked 139 Times in 136 Posts
Quote:
Originally Posted by tiwsaj View Post
another que why do we need two dir in solaris 10 as /home and /export/home thou the latter is mounted with slice7 by default and /home is kept alone any body has a reason for this
/home is a autofs directory! have a look at /etc/auto_home and /etc/auto_master. also read the solaris documentation that can be found at Sun Microsystems Documentation

btw. please stop writing in "punk" style. you've accepted the rules of unix.com!
Sponsored Links
    #7  
Old 01-06-2009
ɹǝsn *sıɹɐlos*
 

Join Date: Dec 2007
Location: Paris
Posts: 3,713
Thanks: 11
Thanked 296 Times in 276 Posts
/home is a directory used by the automounter to mount the real home directories either remotely from an NFS home server or locally if there is no need to share the home between machines. /export as its name suggests is meant to be shared on the network.

If you use a standalone configuration, you might disable the automounter by commenting out the /home line in /etc/auto_master and then use /home directly.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't login root account due to can't find root shell neikel AIX 2 01-30-2008 10:07 PM
problem with root password frustrated1 Solaris 1 11-09-2006 08:45 AM
root login problem in cde Awadhesh HP-UX 2 08-08-2005 10:04 AM
Problem with X11 Root Window ljfong UNIX for Advanced & Expert Users 0 03-29-2004 04:39 AM
Root Login Problem s_aamir UNIX for Advanced & Expert Users 2 06-18-2002 10:15 AM



All times are GMT -4. The time now is 02:52 AM.