Results 1 to 7 of 7
  1. #1
    Leopard Single-User Mode

    Member Since
    Mar 28, 2008
    Posts
    4
    Specs:
    2.0 GHz Intel iMac G5 (White)
    Leopard Single-User Mode
    Is there some way to set a user to admin from single-user mode in Leopard. I made the mistake of turning off my admin account and don't want to have to redo it through the disk and I know you can do it in Tiger.

    Needing help!!!

  2. #2
    Leopard Single-User Mode
    Soulwar's Avatar
    Member Since
    Jan 27, 2008
    Location
    Estero, FL
    Posts
    1,515
    Specs:
    iMac 17" 1Ghz G4  iPhone 3G  10.5.5
    Have you tried just going to System Preferences-Accounts and select your account, then select "allow user to administer this computer"?
    When all else fails, try everything!
    The Rep System and you.
    Life's a joke...If you're not laughing, then you didn't get it.

    June 2008


  3. #3
    Leopard Single-User Mode

    Member Since
    Mar 28, 2008
    Posts
    4
    Specs:
    2.0 GHz Intel iMac G5 (White)
    That would be a great idea that I have already tried except that little lock icon on the bottom is locked and I can't unlock cause I don't have an admin password, like I said

  4. #4
    Leopard Single-User Mode
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    edit: ack. didn't read it fully.

    dscl . -append /Groups/admin GroupMembership <username>
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5
    Leopard Single-User Mode

    Member Since
    Mar 28, 2008
    Posts
    4
    Specs:
    2.0 GHz Intel iMac G5 (White)
    Quote Originally Posted by Dysfunction View Post
    edit: ack. didn't read it fully.

    dscl / -append /Groups/admin GroupMembership <username>
    Huh? sorry slightly confused

  6. #6
    Leopard Single-User Mode
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    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!

  7. #7
    Leopard Single-User Mode

    Member Since
    Mar 28, 2008
    Posts
    4
    Specs:
    2.0 GHz Intel iMac G5 (White)
    Awesome thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Single User Mode
    By ppcg4mac in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 02-23-2012, 04:28 PM
  2. How use single user mode
    By Emoguy55 in forum OS X - Operating System
    Replies: 1
    Last Post: 02-25-2008, 10:09 AM
  3. Single user mode help!!!
    By NMeyer in forum Apple Notebooks
    Replies: 0
    Last Post: 02-08-2007, 11:55 AM
  4. single user mode
    By poohfighter in forum OS X - Operating System
    Replies: 4
    Last Post: 05-26-2006, 05:20 PM
  5. Difference between Single-User mode and Verbose mode?
    By AlexN in forum OS X - Operating System
    Replies: 1
    Last Post: 02-26-2006, 06:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •