The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
login from a shell script????? skyineyes Shell Programming and Scripting 2 07-16-2007 02:59 AM
Can't login as SU anymore - SU: NO SHELL homechoice UNIX for Dummies Questions & Answers 4 04-24-2006 03:15 AM
How to get bash to be the login shell? amheck SUN Solaris 8 03-10-2006 01:39 PM
changing login prompt on redhat juilan UNIX for Dummies Questions & Answers 6 07-25-2003 07:14 AM
Standard login shell Fwurm UNIX for Dummies Questions & Answers 4 11-05-2001 07:43 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2005
Registered User
 

Join Date: Sep 2005
Location: Bangalore
Posts: 5
Unhappy cannot login after changing login shell

Hello Everyone,

I am a newbie in unix. I was practicing shell scripts on hp unix machine.

I changed my current login shell (Korn) to Bourne shell giving the following command.

$ chsh username /usr/bash

I am using secure shell client for accessing the hp ux server.

After which i disconnected from the server. Now problem is when i am trying to login again to the hp ux machine it's not accepting the password.

i guess i am in trouble and pls help me to find solution to it.

Regrds
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-13-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
is it /bin/bash or /usr/bin/bash ?
Ask the sysadmin to correct the shell or reset password
Reply With Quote
  #3 (permalink)  
Old 09-13-2005
Registered User
 

Join Date: Sep 2005
Location: Bangalore
Posts: 5
hi

sorry ....it is /usr/bin/bash

is thr anyother way other than contacting the system admin to resolve this issue.
Reply With Quote
  #4 (permalink)  
Old 09-13-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,322
I dont think so. You would have to run chsh again to change your shell, and you cannot do that as you cant login - because your shell is non existent. Your admin would have to fix this for you.
Reply With Quote
  #5 (permalink)  
Old 09-13-2005
Registered User
 

Join Date: Sep 2005
Location: Bangalore
Posts: 5
Thanks the issue got resolved.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0