Operating System - HP-UX
1833879 Members
2127 Online
110063 Solutions
New Discussion

GSP / nsswitch.conf / 11.i

 
Joe Profaizer
Super Advisor

GSP / nsswitch.conf / 11.i

I mistakenly found out that nsswitch.conf in 11i is a bit different than 11.0. After copying nsswitch.hp_defaults to nsswitch.conf I got locked out of my system. The GSP and any telnets kept prompting my for login and password - to no avail. Luckily I had another session and was able to edit the nsswitch.conf file.
Anyway, my Console on the GSP is still prompting me for login, then password. I think it's hung up and still wanting the prior nsswitch.conf login and password. I reset the GSP and it's still prompting me for login and password. I can log into the root account (or any other account) from anywhere else but the GSP console.

Please advise.

..Joe
12 REPLIES 12
harry d brown jr
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

The GSP has nothing to do with the nsswitch.conf file. The GSP doesn't even know it exists!

And the system console has nothing to do with the nsswitch.conf file either. The nsswitch.conf file can change the way authenification occurs. Are you sure you didn't make any other changes to something else?

live free or die
harry

Live Free or Die
Joe Profaizer
Super Advisor

Re: GSP / nsswitch.conf / 11.i

No other changes. When I close the GSP and reopen, then ctrl-b | CO .......here's what I get:

Wait for login retry: ..
login: root
Password:
Login incorrect

Everytime this happens when I type CO from the GSP> prompt.
Helen French
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

Hi,

Reset the GSP with the reset button, and that will surely erase your GSP configurations. You can then easily login to that and configure it again.

As Harry said, It is not related to /etc/nsswitch.conf file !

HTH,
Shiju
Life is a promise, fulfill it!
Bill Hassell
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

Some of the newer models make restting the GSP a royal pain (no button on the back). Instead, you can use the shell prompt technique:

# stty +resetGSP < /dev/GSPdiag1

Iyt will appear to hang for a while but this is because the GSP has it's own processor and ROM-based opsystem to reboot.


Bill Hassell, sysadmin
Helen French
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

Hi,

Just an addition to Bill's answer:

If you do the shell command as described, you may have to wait for sometime ( approx - 30 sec) and ignore if you get some messages at that time. After that you can verify the GSP status with:

# stty +queryGSP < /dev/GSPdiag1

HTH,
Shiju
Life is a promise, fulfill it!
Joe Profaizer
Super Advisor

Re: GSP / nsswitch.conf / 11.i

I did the GSP reset from my terminal session to no avail.
I'm still getting:

Wait for login retry: ..
login: ROOT
Password:
Login incorrect

when I log back into the GSP and go to "CO".

..Joe
Joe Profaizer
Super Advisor

Re: GSP / nsswitch.conf / 11.i

Fixed it! It was just a matter of killing a login process from the console.
#ps -ef |grep login
root 1792 1 0 06:53:49 console 0:00 login root
#kill 1792


..Joe
harry d brown jr
Honored Contributor

Re: GSP / nsswitch.conf / 11.i


was this a typo?

login: ROOT


root in upper case?

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

Joe Profaizer
Super Advisor

Re: GSP / nsswitch.conf / 11.i

Sorry. I thought I was only supposed to assign points, if in fact, that respective response fixed my problem. In the future, I'll be more concious of points.

My apologies,

..Joe
harry d brown jr
Honored Contributor

Re: GSP / nsswitch.conf / 11.i

Joe,

If they are way off track just assign them "N/A". Of course I'd rather have people respond back and tell us what fixed what, so that we can all learn :-)

live free or die
harry
Live Free or Die
David Lodge
Trusted Contributor

Re: GSP / nsswitch.conf / 11.i

What nobodies mentioned above is that the GSP usernames aren't configured unless you manually do them.

There is no 'root' GSP user unless the admin creates one, so your reply should be:

GSP
Login:
Password:

Simple :-)

dave