Ubuntu remove password: for sudo, for user, for root

Ubuntu remove password: for sudo, for user, for root

Ubuntu allows users to disable the password gateway under My Linux. Read this article below to disable this password requirement.

  • To disable the password requirement, click on Application > Accessories > Terminal. Next, enter this command line sudo visudo and press enter. Now, enter your password and press Enter.
  • Then, 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 save all changes. Next, use shortcut key [CTRL] + [x] to close the file.
  • This should now stop you being asked your password for all commands. 

Need more help with Linux? Check out our Forum!