GUIDE

The road ahead will be long and our climb will be steep

Add a User to Admin Group on Mac.

| Comments

Issus

Many software will apply the admin permission to possibly use some system tools, so I try to add my account to admin group. ## Solution

  • press command + s while boot, then mac will go to single-user-mode as root. This is a terminal interface that allows you to login and interact with your computer via text input only.

  • mount the root device as read-write

1
2
fsck -fy
mount -uw /
  • edit the sudo user list, and move wluo into it.
1
2
chmod 755 etc/sudoers
vim etc/sudoers  # put "wluo ALL=(ALL) ALL" under "root ALL=(ALL) ALL"
  • reboot mac, then open terminal.

  • put wluo into admin group

1
2
sudo su
dseditgroup -o edit -a wluo -t user admin

Comments