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

is it /bin/bash or /usr/bin/bash ?
Ask the sysadmin to correct the shell or reset password

hi

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

is thr anyother way other than contacting the system admin to resolve this issue.

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.

Thanks the issue got resolved.