The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 05:59 AM
Can't login as SU anymore - SU: NO SHELL homechoice UNIX for Dummies Questions & Answers 4 04-24-2006 06:15 AM
How to get bash to be the login shell? amheck SUN Solaris 8 03-10-2006 05:39 PM
changing login prompt on redhat juilan UNIX for Dummies Questions & Answers 6 07-25-2003 10:14 AM
Standard login shell Fwurm UNIX for Dummies Questions & Answers 4 11-05-2001 11:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-13-2005
hardesh hardesh is offline
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
  #2 (permalink)  
Old 09-13-2005
andryk's Avatar
andryk andryk is offline Forum Advisor  
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
  #3 (permalink)  
Old 09-13-2005
hardesh hardesh is offline
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.
  #4 (permalink)  
Old 09-13-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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.
  #5 (permalink)  
Old 09-14-2005
hardesh hardesh is offline
Registered User
  
 

Join Date: Sep 2005
Location: Bangalore
Posts: 5
Thanks the issue got resolved.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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