High Sierra: permissions issues after clean install, also lost use of sudo
up vote
0
down vote
favorite
Having lots of issues after a clean install of High Sierra.
Some I fixed, but some are still going on.
Main ones now are:
(1) Problems with AppleID
(2) Cannot access iCloud: files or email for it
(3) Lost some of my keychain info (all Passwords on Safari) even though I saved the folder, and was supposed to by synching via iCloud
I disabled SIP temporarily for various reasons but maybe doing that also allowed me to corrupt something when adding back my data or apps?
In most cases I reinstalled from the AppStore or their websites.
But I also got error messages related to using Two-factor Authentication, so maybe a keychain file is wrong/corrupted??
I had a permissions issue, but I fixed that by following Apples suggestion to run the following in Terminal:
diskutil resetUserPermissions / id -u
I also have some issues with logging into my appleID, but not everywhere I try it.
On the appleid.apple.com website it works fine, same email + same password as always.
But on System Preferences (iCloud or Internet Accounts) on my MacBook it gives me an error: "This action could not be completed. Try again"
I cannot delete/remove iCloud unless I can log into AppleID on SystemPreferences.
I lost the ability to use sudo in Terminal, but was able to get it back.
The error message after running sudo was:
"/usr/bin/sudo must be owned by uid 0 and have the setuid bit set"
There was a very helpful post on the superuser forum:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [OSX]
I ran the Script Editor script he suggested logged in as Root, and it seems to have worked: I can now run sudo commands.
Based on other user posts, here are the outputs from various Terminal commands:
"which sudo" gives "/usr/bin/sudo"
"echo $PATH" gives /Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
"ls -l /usr/bin/sudo" gives "-rwxr-xr-x+ 1 root wheel 370704 26 Oct 21:00 /usr/bin/sudo"
I am going to try the following if nobody has some good ideas:
(1) Reinstall my OSX
(2) Ask Apple Support to check my appleid: I suspect I might have a 2nd one from somewhere but was not intentional.
permissions sudo macos-highsierra apple-id
add a comment |
up vote
0
down vote
favorite
Having lots of issues after a clean install of High Sierra.
Some I fixed, but some are still going on.
Main ones now are:
(1) Problems with AppleID
(2) Cannot access iCloud: files or email for it
(3) Lost some of my keychain info (all Passwords on Safari) even though I saved the folder, and was supposed to by synching via iCloud
I disabled SIP temporarily for various reasons but maybe doing that also allowed me to corrupt something when adding back my data or apps?
In most cases I reinstalled from the AppStore or their websites.
But I also got error messages related to using Two-factor Authentication, so maybe a keychain file is wrong/corrupted??
I had a permissions issue, but I fixed that by following Apples suggestion to run the following in Terminal:
diskutil resetUserPermissions / id -u
I also have some issues with logging into my appleID, but not everywhere I try it.
On the appleid.apple.com website it works fine, same email + same password as always.
But on System Preferences (iCloud or Internet Accounts) on my MacBook it gives me an error: "This action could not be completed. Try again"
I cannot delete/remove iCloud unless I can log into AppleID on SystemPreferences.
I lost the ability to use sudo in Terminal, but was able to get it back.
The error message after running sudo was:
"/usr/bin/sudo must be owned by uid 0 and have the setuid bit set"
There was a very helpful post on the superuser forum:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [OSX]
I ran the Script Editor script he suggested logged in as Root, and it seems to have worked: I can now run sudo commands.
Based on other user posts, here are the outputs from various Terminal commands:
"which sudo" gives "/usr/bin/sudo"
"echo $PATH" gives /Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
"ls -l /usr/bin/sudo" gives "-rwxr-xr-x+ 1 root wheel 370704 26 Oct 21:00 /usr/bin/sudo"
I am going to try the following if nobody has some good ideas:
(1) Reinstall my OSX
(2) Ask Apple Support to check my appleid: I suspect I might have a 2nd one from somewhere but was not intentional.
permissions sudo macos-highsierra apple-id
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Having lots of issues after a clean install of High Sierra.
Some I fixed, but some are still going on.
Main ones now are:
(1) Problems with AppleID
(2) Cannot access iCloud: files or email for it
(3) Lost some of my keychain info (all Passwords on Safari) even though I saved the folder, and was supposed to by synching via iCloud
I disabled SIP temporarily for various reasons but maybe doing that also allowed me to corrupt something when adding back my data or apps?
In most cases I reinstalled from the AppStore or their websites.
But I also got error messages related to using Two-factor Authentication, so maybe a keychain file is wrong/corrupted??
I had a permissions issue, but I fixed that by following Apples suggestion to run the following in Terminal:
diskutil resetUserPermissions / id -u
I also have some issues with logging into my appleID, but not everywhere I try it.
On the appleid.apple.com website it works fine, same email + same password as always.
But on System Preferences (iCloud or Internet Accounts) on my MacBook it gives me an error: "This action could not be completed. Try again"
I cannot delete/remove iCloud unless I can log into AppleID on SystemPreferences.
I lost the ability to use sudo in Terminal, but was able to get it back.
The error message after running sudo was:
"/usr/bin/sudo must be owned by uid 0 and have the setuid bit set"
There was a very helpful post on the superuser forum:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [OSX]
I ran the Script Editor script he suggested logged in as Root, and it seems to have worked: I can now run sudo commands.
Based on other user posts, here are the outputs from various Terminal commands:
"which sudo" gives "/usr/bin/sudo"
"echo $PATH" gives /Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
"ls -l /usr/bin/sudo" gives "-rwxr-xr-x+ 1 root wheel 370704 26 Oct 21:00 /usr/bin/sudo"
I am going to try the following if nobody has some good ideas:
(1) Reinstall my OSX
(2) Ask Apple Support to check my appleid: I suspect I might have a 2nd one from somewhere but was not intentional.
permissions sudo macos-highsierra apple-id
Having lots of issues after a clean install of High Sierra.
Some I fixed, but some are still going on.
Main ones now are:
(1) Problems with AppleID
(2) Cannot access iCloud: files or email for it
(3) Lost some of my keychain info (all Passwords on Safari) even though I saved the folder, and was supposed to by synching via iCloud
I disabled SIP temporarily for various reasons but maybe doing that also allowed me to corrupt something when adding back my data or apps?
In most cases I reinstalled from the AppStore or their websites.
But I also got error messages related to using Two-factor Authentication, so maybe a keychain file is wrong/corrupted??
I had a permissions issue, but I fixed that by following Apples suggestion to run the following in Terminal:
diskutil resetUserPermissions / id -u
I also have some issues with logging into my appleID, but not everywhere I try it.
On the appleid.apple.com website it works fine, same email + same password as always.
But on System Preferences (iCloud or Internet Accounts) on my MacBook it gives me an error: "This action could not be completed. Try again"
I cannot delete/remove iCloud unless I can log into AppleID on SystemPreferences.
I lost the ability to use sudo in Terminal, but was able to get it back.
The error message after running sudo was:
"/usr/bin/sudo must be owned by uid 0 and have the setuid bit set"
There was a very helpful post on the superuser forum:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [OSX]
I ran the Script Editor script he suggested logged in as Root, and it seems to have worked: I can now run sudo commands.
Based on other user posts, here are the outputs from various Terminal commands:
"which sudo" gives "/usr/bin/sudo"
"echo $PATH" gives /Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
"ls -l /usr/bin/sudo" gives "-rwxr-xr-x+ 1 root wheel 370704 26 Oct 21:00 /usr/bin/sudo"
I am going to try the following if nobody has some good ideas:
(1) Reinstall my OSX
(2) Ask Apple Support to check my appleid: I suspect I might have a 2nd one from somewhere but was not intentional.
permissions sudo macos-highsierra apple-id
permissions sudo macos-highsierra apple-id
edited Nov 20 at 17:39
Mureinik
2,23351525
2,23351525
asked Nov 20 at 2:24
AlanJ
13
13
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376838%2fhigh-sierra-permissions-issues-after-clean-install-also-lost-use-of-sudo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown