Management
Reply
Visitor
with_joerg
Posts: 2
Registered: ‎08-05-2008
0
Accepted Solution

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

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.
Recognized Expert Recognized Expert
Recognized Expert
CB
Posts: 159
Registered: ‎05-09-2008
0

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

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 :smileytongue:assword("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.
Visitor
with_joerg
Posts: 2
Registered: ‎08-05-2008
0

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

A wonder :smileyvery-happy:. This works.

Thanks.

--Joerg

 

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.