terminal does not get out of sudo
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
terminal does not get out of sudo
- cgrenier
- Site Admin
- Posts: 5442
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: terminal does not get out of sudo
Try without the sd card. Do you have the problem ? Sometimes physically damaged SD card freeze all programs that are trying to access them.
Running TestDisk, PhotoRec under macOS
If you are not root, TestDisk (i.e. testdisk-7.0/testdisk) or PhotoRec will restart itself using sudo after confirmation from your part.
If your administrator account has no password (a blank password), you must give that user a password before using the sudo command:
Choose Apple menu > System Preferences and click Accounts.
Click Change Password.
Terminal doesn't show the password as you type. If you enter the wrong password or a blank password, the command isn't executed and Terminal asks you to try again.
Running TestDisk, PhotoRec under macOS
If you are not root, TestDisk (i.e. testdisk-7.0/testdisk) or PhotoRec will restart itself using sudo after confirmation from your part.
If your administrator account has no password (a blank password), you must give that user a password before using the sudo command:
Choose Apple menu > System Preferences and click Accounts.
Click Change Password.
Terminal doesn't show the password as you type. If you enter the wrong password or a blank password, the command isn't executed and Terminal asks you to try again.