hardesh
September 13, 2005, 6:41am
1
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
andryk
September 13, 2005, 6:48am
2
is it /bin/bash or /usr/bin/bash ?
Ask the sysadmin to correct the shell or reset password
hardesh
September 13, 2005, 7:01am
3
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.
hardesh
September 14, 2005, 12:21am
5
Thanks the issue got resolved.