Disable the asking of password under Linux

March 2017


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


Published by aakai1056.
This document, titled "Disable the asking of password under Linux," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).