Disable the asking of password under Linux

Ask a question

Disable the asking of password under Linux


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


  • 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
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team