cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4183
Views
10
Helpful
8
Replies

Cisco NAC guest server password recovery

srego4
Level 2
Level 2

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 8

htarra
Level 4
Level 4

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

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

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

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

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

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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: