A few words of thanks would be greatly appreciated.

Stop Linux Asking For Password

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

Disable the Password Under Linux

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.

Image: © Jaroslav Machacek - Shutterstock.com


A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Stop Linux Asking For Password », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).
3 vote - 5.0/5

Really helpful.
Lots of people telling you what to replace, but not how to replace and save.
Kudos my friend

Great Tips

Really useful tip! Thank you so much for your help!