The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

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 SUN 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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 26
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 (permalink)  
Old 01-06-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,232
path to bash is:

/usr/bin/bash

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

Join Date: Jul 2007
Location: unix.com.india
Posts: 26
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 Solaris 9 login problem
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 (permalink)  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 26
can u pls tell me the path of sh
  #5 (permalink)  
Old 01-06-2009
Registered User
 

Join Date: Jul 2007
Location: unix.com.india
Posts: 26
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
  #6 (permalink)  
Old 01-06-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,232
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!
  #7 (permalink)  
Old 01-06-2009
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 761
/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.
Google The UNIX and Linux Forums
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 04:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66