Photorec for my OSX refuses to work

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
Post Reply
Posts: 1
Joined: 15 Jan 2018, 23:56

Photorec for my OSX refuses to work

#1 Post by hooplaaah » 16 Jan 2018, 17:18

As soon as I try to open the Photorec terminal file, Terminal says the following:
No disk found.
PhotoRec will try to restart itself using the sudo command to get
root (superuser) privileges.

sudo may ask your user password, it doesn't ask for the root password.
Usually there is no echo or '*' displayed when you type your password.

sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
Saving session...
...copying shared history...
...saving history...truncating history files...
Does anybody have any idea why this is happening? I'm admittedly not terribly familiar with terminal commands, it's been years since I've used it extensively.

Thanks a ton, I'm desperate to find what I lost! Hundreds of hours on a file, gone from a careless coworker. Ugh.

Sponsored links

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

Re: Photorec for my OSX refuses to work

#2 Post by cgrenier » 17 Jan 2018, 07:29

To be correct, the problem is with sudo: configuration for sudo is world writable.
As root, run "chmod 0440 /etc/sudoers".

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests