Standard Posted by Mandeep Singh Posted on December 14, 2015 Posted under Linux Comments Leave a comment Accidently removed sudoers file (/etc/sudoers) In case you have deleted the /etc/sudoers file and can’t use sudo anymore (or another users can’t) then here are the commands: pkexec apt-get purge sudo pkexec apt-get install sudo Advertisements Rate this:Share this:PinterestFacebookGoogleTumblrTwitterLinkedInEmailLike this:Like Loading... Related /etc/sudoers accidently deletecan't sudoLinuxremoved sudoers fileUbuntu Post navigation ← Garbled text while pasting in vim Installing LAMP on ArchBang → Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. ( Log Out / Change ) You are commenting using your Twitter account. ( Log Out / Change ) You are commenting using your Facebook account. ( Log Out / Change ) You are commenting using your Google+ account. ( Log Out / Change ) Cancel Connecting to %s Notify me of new comments via email. Notify me of new posts via email.