LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can I set programs requiring root access to not require it? (https://www.linuxquestions.org/questions/linux-general-1/can-i-set-programs-requiring-root-access-to-not-require-it-623156/)

newbiesforever 02-22-2008 05:19 PM

can I set programs requiring root access to not require it?
 
If a program requires the root password and I don't want to bother with passwords (I don't, since I am the owner and the only user), can I use the root account to prevent myself from being asked for a root password in my user account? The last password screen that made me think of thisquestion was Synaptic, but I am asking if I can do this for anything--bypass passwords while staying out of the root account. I know I can click "Keep password," but I'd still like to make passwords unnecessary.

indienick 02-22-2008 05:30 PM

If you want to go about creating new launchers for some of your applications, one thing you can do is set up Sudo to that it doesn't ask you for a password every time it's run.

Just add this line to your /etc/sudoers file:
Code:

[username]    ALL=NOPASSWD:ALL
Simple as that - then you can use new launchers set up to run "sudo [command]".

Alternately, you could exact the same amount of effort and set up a keyring manager.

bigrigdriver 02-22-2008 05:32 PM

Set up your /etc/sudoers file to allow you to use commands you commonly use that require root authority. Then you can use the commands without having to enter a password.


All times are GMT -5. The time now is 06:14 AM.