Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Leopard Single-User Mode
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 624413" data-attributes="member: 51052"><p>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.</p><p></p><p>Like such.</p><p></p><p>mike-macbook-pro:~ mike$ id foo</p><p>uid=503(foo) gid=20(staff) groups=20(staff),98(_lpadmin),102(com.apple.sharepoint.group.2),103(com.apple.sharepoint.group.3),101(com.apple.sharepoint.group.1)</p><p>mike-macbook-pro:~ mike$ sudo dscl . -append /Groups/admin GroupMembership foo</p><p>mike-macbook-pro:~ mike$ id foo</p><p>uid=503(foo) gid=20(staff) groups=20(staff),98(_lpadmin),102(com.apple.sharepoint.group.2),103(com.apple.sharepoint.group.3),<strong>80(admin)</strong>,101(com.apple.sharepoint.group.1)</p><p>mike-macbook-pro:~ mike$</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 624413, member: 51052"] 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.sharepoint.group.2),103(com.apple.sharepoint.group.3),101(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.sharepoint.group.2),103(com.apple.sharepoint.group.3),[B]80(admin)[/B],101(com.apple.sharepoint.group.1) mike-macbook-pro:~ mike$ [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Leopard Single-User Mode
Top