Using PhotoRec to recover lost data
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
- Posts: 1
- Joined: 15 Jan 2018, 23:56
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
...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.
- Site Admin
- Posts: 4687
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
To be correct, the problem is with sudo: configuration for sudo is world writable.
As root, run "chmod 0440 /etc/sudoers".
Who is online
Users browsing this forum: No registered users and 2 guests