Management
Management

NSM2007.1r2 (Solaris10) blocked IP and loast credentials

08.05.08   |  
‎08-05-2008 05:32 AM
I have an NSM 2007.1r2. I have lost the credentials to log into this system. Whilst trying to login it blocked my IP address. What could I do to reset both? The application xdbViewEdit.sh does not exist in this environment/on the Solaris 10 base platform.
2 REPLIES
Management
Solution
Accepted by topic author with_joerg
‎08-26-2015 01:27 AM

Re: NSM2007.1r2 (Solaris10) blocked IP and loast credentials

08.05.08   |  
‎08-05-2008 05:40 AM

Hi Joerg,

 

to generate a password reset for a user.

 

To do this

 

[nsm@bean utils]$ pwd
/usr/netscreen/GuiSvr/utils
[nsm@bean utils]$ ./.hashPasswd  netscreen
glee/aW9bOYEewkD/6Ri8sHh2mU=
[nsm@bean utils]$ 

 

next from the same folder run .xdbViewEdit.sh and select N for read only. (this will stop the guiSvrdatabase)

 

From the menu select option 4

and enter 0.blockedIPList

 

this should give you a list of ips that are blocked.

 

Delete your ip that you wish to re-enable and write and quit (esc esc :wq)

 

From the menu, now select option 6

enter 1.admin.<admin name you need to reset>

locate Smiley Tongueassword("ajkhsdkhalkjgalksjg=")

and replace the password hash with the freshly generated on.

 

Write and quit then exit (option 12 from the menu)

 

You should now have access again with a reset password for the user you reset the password for.

 

Kind regards

 

Colin

If this worked for you please flag my post as an "Accepted Solution" so others can benefit.
Management

Re: NSM2007.1r2 (Solaris10) blocked IP and loast credentials

08.05.08   |  
‎08-05-2008 06:20 AM

A wonder Smiley Very Happy. This works.

Thanks.

--Joerg