How To Edit Linux PW Prompt

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_topic_old
How To Edit Linux PW Prompt
Avatar
dandl
Lexa, AR
Moderator
Forum Posts: 698
Member Since:
April 29, 2013
sp_UserOfflineSmall Offline
1
March 21, 2018 - 8:24 pm
sp_Permalink sp_Print sp_EditHistory

https://davescomputertips.com/wp-content/sp-resources/forum-image-uploads/dandl/2018/03/sudo-visudo-edit-.pngImage Enlarger


Open Terminal and enter 'sudo visudo" to edit /etc/sudoers.tmp file. This will let you do things in Linux without having to enter a password. This was done in Linux Mint and this may be different for another Distro, but it works. To close and save with visudo, you do a ctrl+x and choose Y to save.
Applications like gparted and synaptic can also be made to open without a password by opening their properties and editing the command line. gparted would be sudo gparted, and synaptic would be sudo synaptic-pkexec.
This would have to done after the /etc/sudoers.tmp file has been edited.
I would also recommend installing Timeshift for setting a restore point before doing anything.


A couple of videos that are worth watching.
Say what you want but I have greatly reduced my PW Prompts.
I might add that one has to look for and edit the lines that have ALL=(ALL:ALL) All
I added the bottom line first with the username of the OS and did a ctrl+x and save, this let me use the command line without a PW
I then edited each line that contained ALL=(ALL:ALL) ALL with
ALL=(ALL:ALL) NOPASSWD: ALL. Do one line at a time and do the ctrl+x and save, that way if you have an error you can close and start over.

sp_PlupAttachments Attachments
Forum Timezone: America/Indiana/Indianapolis

Most Users Ever Online: 271

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 10

Members: 2410

Moderators: 7

Admins: 4

Forum Stats:

Groups: 8

Forums: 19

Topics: 1805

Posts: 12979

Administrators: Jim Hillier, Richard Pedersen, David Hartsock, Marc Thomas

Moderators: Carol Bratt, dandl, Jason Shuffield, Jim Canfield, Terry Hollett, Dick Evans, Sergey Grankin

Scroll to Top

WHY NOT SUBSCRIBE TO OUR NEWSLETTER?

Get great content like this delivered to your inbox!

It's free, convenient, and delivered right to your inbox! We do not spam and we will not share your address. Period!