terminal does not get out of sudo

Using PhotoRec to recover lost data
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
Post Reply
Message
Author
anamrk
Posts: 1
Joined: 23 Mar 2020, 16:48

terminal does not get out of sudo

#1 Post by anamrk »

:| Hello there, I was trying to recover some video files from a memory sd card and when installing Photorec, does not allow me to get out of the sudo command on terminal. I have a Mac. Please help! Thanks! :|

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 5140
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: terminal does not get out of sudo

#2 Post by cgrenier »

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.

Post Reply