Talk:Will of Duke Johnathan Warsmythe of Scotland/@comment-4317111-20120503031230/@comment-4034967-20120503033838

Lol, if anyone's wondering how, this is what to do:

1. Power Down
If your computer is on, go ahead and turn it off. To boot into Single User Mode, we need to press a key command as the computer boots up.

2. Power Back Up
Press the power button, and as soon as the computer begins to turn on, immediately and simultaneously hold the Command (Apple) key and the “s” key. This will boot the computer into SUM. Be sure to hold the keys down until the screen turns black and white text scrolls down it.

3. Mount The File System
To make changes to the files, including the “user group” that a user’s account is in (Standard, Managed, or Administrator), we need to mount the file system, because in SUM, the system doesn’t do it automatically. To do this, wait until the white text has stopped scrolling down the screen, then type the following and press enter:

mount -uw /

4. Change The User Group
Once you’ve got the file system mounted, we want to change the GroupMembership of an account. We’ll use the dscl utility to change it with the following command, replacing “username” with the short name of the user you want to give administrator privileges too:

dscl. -append /Groups/admin GroupMembership username

After you’ve executed that command, type:

reboot

And hit return.

There you have it! The computer will reboot and start up normally, and you’ve successfully changed the GroupMembership of a Standard user account to an Administrator account. :D