Hi all,
I have been having problems with SUDO on my computer and I know a lot of you have seen these types of errors before and that you all have tried to help others, as I have been reading the other posts -- especially this one https://forums.macrumors.com/threads/447812/. The problem is none of them are working
This is the error I get;
Sean is not in the sudoers file. This incident will be reported.
This is what I do when I use the command id
uid=502(Sean) gid=20(staff) groups=20(staff),402(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),12(everyone),33(_appstore),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),100(_lpoperator),204(_developer)
I tried to create a new admin account but still the same error...
admin is not in the sudoers file. This incident will be reported.
So I tried the following;
-bash-3.2$ ls -lad /private/etc /private
drwxr-xr-x@ 6 root wheel 204 26 Oct 08:10 /private
drwxr-xr-x 107 root wheel 3638 14 Feb 19:19 /private/etc
-bash-3.2$ ls -la /usr/bin/sudo
-r-s--x--x 1 root wheel 327920 26 Oct 08:05 /usr/bin/sudo
When I saw wheel I thought that this command could help;
sudo dscl . -append /Groups/wheel GroupMembership Sean
but realised I can't actually create a new admin account with sudo capabilities so I feel absolutely screwed :/
Please can someone help me?
Sean
I have been having problems with SUDO on my computer and I know a lot of you have seen these types of errors before and that you all have tried to help others, as I have been reading the other posts -- especially this one https://forums.macrumors.com/threads/447812/. The problem is none of them are working
Sean is not in the sudoers file. This incident will be reported.
This is what I do when I use the command id
uid=502(Sean) gid=20(staff) groups=20(staff),402(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),12(everyone),33(_appstore),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),100(_lpoperator),204(_developer)
I tried to create a new admin account but still the same error...
admin is not in the sudoers file. This incident will be reported.
So I tried the following;
-bash-3.2$ ls -lad /private/etc /private
drwxr-xr-x@ 6 root wheel 204 26 Oct 08:10 /private
drwxr-xr-x 107 root wheel 3638 14 Feb 19:19 /private/etc
-bash-3.2$ ls -la /usr/bin/sudo
-r-s--x--x 1 root wheel 327920 26 Oct 08:05 /usr/bin/sudo
When I saw wheel I thought that this command could help;
sudo dscl . -append /Groups/wheel GroupMembership Sean
but realised I can't actually create a new admin account with sudo capabilities so I feel absolutely screwed :/
Please can someone help me?
Sean