Disable the asking of password under Linux

December 2016


Disable the asking of password under Linux



Issue


I want to disable the asking of password under my Linux, can anybody help me?

Solution

  • Click on "Application" then Accessories" and finally "Terminal"
  • Enter this command line "sudo visudo" and press enter
  • Enter your password then press Enter
  • Search for "%admin ALL=(ALL) ALL"
  • And replace the line by "%admin ALL=(ALL) NOPASSWD: ALL. "
  • Used shortcut key Ctrl + o and press Enter to saved all changes made
  • Then used shortcut key Ctrl + x to close the file

Related :

This document entitled « Disable the asking of password under Linux » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.