![]() It took a few days, but I eventually had a software update for one of my applications and while it was running, it prompted me to login with an administrator account.huh? Why do I need to login with an administrator account? No worries, I'll just log into my local account. ![]() The fact that I can run sudo in the first place means I'm already in the admin group! But, I didn't pay attention, and I ran the above commands. The first warning sign was the use of sudo to add my local user account ("$(whoami)") to the admin group. I should have spent more time recognizing the danger in the above. I shouldn't have just run the commands as listed. Sudo dseditgroup -o edit -d $(whoami) -t user admin I "Googled" some solutions and eventually stumbled upon an article that suggested the following sequence of commands would resolve it: sudo dseditgroup -o edit -a $(whoami) -t user admin It all started out simply enough, I had a misbehaving application (Keybase) which everytime I rebooted would ask me to install a helper application and upon going through the process, it would inevitablly fail with some cryptic error. What does that mean? Well, if you want to upgrade any of your applications, install new ones, or change System Preferences, it means you cannot. The only login account I have on my MacBook Pro is no longer an Admin account and is now listed as a Standard user.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |