💻 Software
Changed sudoers file and can't open it anymore; can't open any file using root
Fresh6 days ago
Mar 15, 20267772 viewsConfidence Score0%
0%
Problem
I changed settings in sudoers file using and messed it up. Now when I try to do it again or open any file using sudo, I can't open it anymore and I get this error message: What now? Is there any way to get out of this problem (to revert the settings), or do I need to install a fresh copy of linux ?…
Error Output
sudo visudo
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Changed sudoers file and can't open it anymore; can't open any file using root
Low Risk
Assuming you didn't give the root user a password then the easiest way to fix this is with a live cd such as Knoppix. Boot of the CD. Mount the local disc, edit the file, unmount the disc and reboot.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix