Operating System - HP-UX
1753747 Members
5106 Online
108799 Solutions
New Discussion юеВ

Re: Unable to log into HPE 48 Port Serial Switch - Q1P53A

 
RichardJC
Visitor

Unable to log into HPE 48 Port Serial Switch - Q1P53A

I guess I made a mistake when I was trying setup LDAP on this switch.

I am getting the LDAP Password prompt when I attempt to log in.

I am not even able to log in under admin which I thought I would still be able to.  I checked the box that seemed to keep that option open.

I am able to get to U-Boot but am not very familiar with it.

Is there a way I can edit a file to remove LDAP and go back to default?

There does not seem to be a reset button anywhere on this switch.

3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Unable to log into HPE 48 Port Serial Switch - Q1P53A

Here are steps to boot into single-user mode on the switch.  Perhaps once you are there you can change your config?

Appendix D: Recovering a Serial Console Server Password
 
To recover the Serial Console Server's root password:
 
1. Connect directly to the Serial Console ServerтАЩs CONSOLE port.
2. Turn the Serial Console Server off, then on again.
3. Press the Spacebarto access the uboot prompt.
4. Type hw_boot single and press Enter.
5. The Serial Console Server will boot into single-user mode. Type passwd and press Enter.
6. Enter the new password and confirm.
7. Type rebootand let the Serial Console Server boot normall y.
 
 
 
 
RichardJC
Visitor

Re: Unable to log into HPE 48 Port Serial Switch - Q1P53A

Thanks for that.  I am getting logged in as root but haven't been able to figure out how to disable ldap this way.

I have gone into ldap.conf and marked out (#) the entries but am still unable to log in as the local admin account.

I have tried running the reset-factory.sh but that can't be run when system is logged in.

I am in the pam.d folder but unsure what to modify there.

 

Sorry for the late reply as I haven't been on site in a bit.

RichardJC
Visitor

Re: Unable to log into HPE 48 Port Serial Switch - Q1P53A

Anyone that can provide some assistance?

I have gone in and reset the password for admin but it still doesn't allow me to log in that user in either the console nor the UI.

I am unable to run the factory reset sh file due to it being fully booted.

I have been looking through config files trying to find something to allow me to disable the ldap option but having no luck here.