fert Posted February 11, 2007 Share Posted February 11, 2007 In my tinkering I changed the permissions of the /etc/sudoers file to 777 this was a bad move because now the sudo command wouldn't work. So I copied it to a new folder and changed the permissions back to 440 and I copied it back, but now sudo still won't work because now I'm the owner and I can't chown it to make the owner root because I need the sudo command to do that. So now I'm stuck because I need the sudo command to install programs and updates. Any ideas as to what I should do or should I just reinstall Linux. Link to comment https://forums.phpfreaks.com/topic/38052-i-messed-up-bad/ Share on other sites More sharing options...
fert Posted February 11, 2007 Author Share Posted February 11, 2007 Nevermind I fixed it by rebooting into recovery mode and I changed the owner of the file back to root. Link to comment https://forums.phpfreaks.com/topic/38052-i-messed-up-bad/#findComment-182173 Share on other sites More sharing options...
trq Posted February 11, 2007 Share Posted February 11, 2007 You could have just held down alt F2 to switch to a new term, logged in as root, fixed the file and logged out. Link to comment https://forums.phpfreaks.com/topic/38052-i-messed-up-bad/#findComment-182181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.