Locked password on Terminal
Macorlan
-
_Ritchi_ Posted messages 21192 Registration date Status Contributeur Last intervention -
_Ritchi_ Posted messages 21192 Registration date Status Contributeur Last intervention -
Hello there,
when I enter a sudo command in Terminal, the application asks for my password but shows a small key and refuses to execute anything when I enter the password. I don't have this issue on my old MacBook for the same command. Any advice or solution? Thank you!
when I enter a sudo command in Terminal, the application asks for my password but shows a small key and refuses to execute anything when I enter the password. I don't have this issue on my old MacBook for the same command. Any advice or solution? Thank you!
1 réponse
Hello
Maybe the activation of the root user has not been done?
Here is what Apple recommends to do this: https://support.apple.com/fr-fr/HT204012
Ritchi
Maybe the activation of the root user has not been done?
Here is what Apple recommends to do this: https://support.apple.com/fr-fr/HT204012
Ritchi
- What command do you type in the Terminal?
- I don't understand the need to activate the root user in the directory utility: can you explain what your need is?
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
This is actually the procedure recommended by Apple.
Question: have you activated the superuser root account?
Another question: why would you want to modify the /etc/hosts file?