no administrator - can't change settings

kn92

macrumors newbie
Original poster
Nov 21, 2010
16
0
My mac runs Lion server - I inadvertently made my account a standard user (by unchecking the check box :allow user to administer this server" in the server app) - and now I can't change my settings anymore or install new apps

I can't log in to server app or change anything in system preferences (because I am no longer an administrator, and neither are any of the other users)

how can I fix this ?

thanks
 

kn92

macrumors newbie
Original poster
Nov 21, 2010
16
0
Boot into Single User Mode?

B
thanks balamw, I've figured out how to boot in single user mode, but how can I change user settings and make myself an administrator again from the command line ?