You are not logged in.
Hello,
I modified my /etc/sudoers file by adding this line:
Defaults:eric timestamp_timeout=20so I don't need to re-enter my password (20 minutes) if I need to execute a program with sudo.
It works if I open it from a terminal, but if I open Synaptic via the icon, close it and re-open it 1 minute later, it still asks me for my password.
How can I fix it?
Thanks
p.s. sorry for my bad English!
Last edited by Panzer (2011-05-22 12:51:20)
Offline
If you use gksudo it should work. Edit your shortcut icon command to "gksudo synaptic". I'm using Gnome, so I don't know if gksudo is installed by default.
By the way, that is the gksu package in synaptic.
Last edited by vredfreak (2011-05-21 17:55:25)
Me: I talk to myself
Myself: Yes, I know.
I: Both of you shut up!
Offline
Yes, I use gksudo but I need to enter my password each time I open up synaptic...:/
Offline
Yes, I use gksudo but I need to enter my password each time I open up synaptic...:/
That's odd. I have the NOPASSWD option set on synaptic in my sudoers file, and gksudo follows it just fine.
Try hitting alt + f2 and entering "gksudo /usr/sbin/synaptic". Then close synaptic and wait a minute. Then repeat to see if it honors your sudoers file.
What is the exact command of the icon you are clicking on?
Me: I talk to myself
Myself: Yes, I know.
I: Both of you shut up!
Offline
Well... by the might of google...
First: http://tinyurl.com/3etey6j
Then: http://embraceubuntu.com/2006/01/25/mak … passwords/
The password is only saved for a single terminal (the one you run sudo with), so any other terminal will refuse to save the PW. See the link above for a kind of workaround. Please read the whole article. you have to decide about security issues yourself.
I'm so meta, even this acronym
Offline
@Awebb
Thanks. The first link solved my problem! 
Offline
Hehe :-D
Make sure you are aware of possible security risks if you follow the second link.
I'm so meta, even this acronym
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.