Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco NAC guest server password recovery

Does anyone know how to do a pwd recovery for the gui interface. I have the root pwd, but not the admin on the gui.

thanks

8 REPLIES
Bronze

Re: Cisco NAC guest server password recovery

The following URL will help you for Password Recovery Procedure for the Cisco device:

http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml

New Member

Re: Cisco NAC guest server password recovery

thks htarra.... but I was not looking for password recovery for routers/switches.

New Member

Re: Cisco NAC guest server password recovery

Was there a solution to this problem... I have the same problem here. I need to recover the GUI admin password for NAC server

Re: Cisco NAC guest server password recovery

The original topic was for the nac guest server. You are mentioning the nac server.

If nac guest server:

ssh into nac guest server and run:

psql -U postgres -h localhost gapdb -c "UPDATE adminusers SET password=md5('admin') WHERE name='admin'"

If nac server:

ssh into the nac server and run

'service perfigo config'

read all the questions and change nothing. The last question is to reset the admin password. Restart the NAC Server when finished.

Configuration Utility Script

http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/45/cas/s_instal.html#wp1043351

-Dan Laden

Bronze

Re: Cisco NAC guest server password recovery

Dan,

I have been looking for how to reset the admin password for the NAC Guest Server all day so thanks for publishing this information. Its a shame Cisco doesnt publish this official somewhere as it would save me a lot of stress.

I am off to run the command now.

I am finding that version 2.0.1 of NAC Guest Server is a bit flaky with the admin username and password. After you set the admin password on the GUI and log out it will sometimes lock you out.

Has anyone else had this experience?

Regards,

Olly

New Member

Re: Cisco NAC guest server password recovery

What you have to do is enter the address with the following format: http://ip_address/admin/index.php
Please notice the index.php at the end.

Bronze

Re: Cisco NAC guest server password recovery

Yes as I foolishly found out the /admin at the end of the URL is suprisingly important for logging in via admin. Oops

One quirky thing is that the NGS will let you login using the admin username via the sponsor GUI one time when the server is first built. After you log out and log back in it doesnt work.

Anyway, all these little issues during testing is good for me as it saves me hastle during production roll outs.


Thanks,

Olly

New Member

Re: Cisco NAC guest server password recovery

In 2.0.2 the column name is username instead of name so you have to do:

psql -U postgres -h localhost gapdb -c "UPDATE adminusers SET password=md5('admin') WHERE username='admin'"

Only problem is it's still not working for me.

If I do a:

psql -U postgres -h localhost gapdb -c "select * from adminusers"

I can see that the update query works if I change the password I see the MD5 hashed password change.

id | username |             password             | firstname | surname | email | groupname | changepassword
----+----------+----------------------------------+-----------+---------+-------+-----------+----------------
  1 | admin    | 21232f297a57a5a743894a0e4a801fc3 | admin     | user    |       | DEFAULT   |

Anyone run into this? Yes I'm using https://servername/admin/index.php to try to login.

Thanks.

3176
Views
10
Helpful
8
Replies