View Single Post
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is online now
it's a command (that I typo'd and didn't catch oops), you have to (normally) be root or sudo it, but it should work in single user mode. Substitute <username> for the username you wish to make an admin. You could also probably enable the root account, log on as root and use the gui to promote your user to admin.

Like such.

mike-macbook-pro:~ mike$ id foo
uid=503(foo) gid=20(staff) groups=20(staff),98(_lpadmin),102(com.apple.sharep oint.group.2),103(com.apple.sharepoint.group.3),10 1(com.apple.sharepoint.group.1)
mike-macbook-pro:~ mike$ sudo dscl . -append /Groups/admin GroupMembership foo
mike-macbook-pro:~ mike$ id foo
uid=503(foo) gid=20(staff) groups=20(staff),98(_lpadmin),102(com.apple.sharep oint.group.2),103(com.apple.sharepoint.group.3),80(admin),101(com.apple.sharepoint.group.1)
mike-macbook-pro:~ mike$

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks