Topic RSS
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.
https://www.youtube.com/watch?v=FRNEm4ANhJo
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.
How To Edit Linux PW Prompt
dandl
Lexa, AR
Moderator
Members
Moderators
Moderators
March 21, 2018 - 8:24 pm
Member Since: April 28, 2013
Forum Posts: 740
Offline
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.
https://www.youtube.com/watch?v=FRNEm4ANhJo
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.
Forum Timezone: America/Indiana/Indianapolis
Most Users Ever Online: 2303
Currently Online:
Guest(s) 149
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Chad Johnson: 867
Mindblower: 677
carbonterry2: 356
Flying Dutchman: 278
grr: 211
Member Stats:
Guest Posters: 11
Members: 3229
Moderators: 7
Admins: 3
Forum Stats:
Groups: 8
Forums: 20
Topics: 1954
Posts: 13563
Newest Members:
instaproapk, mousetesteronline, keshamatt, Patriciabin, MattOwensModerators: Carol Bratt: 67, dandl: 740, Jason Shuffield: 1, Jim Canfield: 8, Terry Hollett: 0, Stuart Berg: 0, John Durso: 0
Administrators: Jim Hillier: 2709, Richard Pedersen: 210, David Hartsock: 1117
© Simple:Press —