Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to login when everyone lost his Admin Account?

Troubleshooting

How to login when everyone lost his Admin Account?

by  williamwhite  Posted    (Edited  )
In case everyone lost his Admin Account or password (And yes this can happen) there is still a way to enter the Servicecenter database. The following creates a new useraccount with SysAdmin rights.

make a little textfile in the RUN directory.
Enter in this the following:
_________________________________________________

[color blue]
2
opn
operator
pat
i
f
name
2
ADMINISTRATOR
f
cap.exec
8
{"SysAdmin","AlwaysAdmin"}
f
password
2
PASSWORD
x
add
[/color]
________________________________________________________

Where ADMINISTRATOR is de name of the user to add and PASSWORD the password you want to give. Name the file makeadmin.txt
From the command prompt in de RUN directory enter:
scdbutil <makeadmin.txt

After this has run you can now login as administrator with the name and password you put into the file. You can now repair what you want, like give new passwords etc.

This method has a lot more uses but thats for you to find out.

NB. Sometimes there is a restrictions on how the username should be build up like UPPERCASE or lowercase only. Make sure to comply with this. If the user has to be existing in de db wait for the globallist to refresh or restart the server.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top