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. Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/38052-i-messed-up-bad/#findComment-182181 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.