gksudo waits for a few seconds after execution
Posted
by
phoenix
on Ask Ubuntu
See other posts from Ask Ubuntu
or by phoenix
Published on 2011-11-30T07:59:08Z
Indexed on
2011/11/30
10:34 UTC
Read the original article
Hit count: 568
i'm frequently using application launchers to run personal bash scripts and thus i often use gksudo in case i do administrative tasks. the problem is that when i execute a command with gksudo,the execution is successful, but afterwards gksudo waits for about 5 seconds before it closes/finishes. in some scripts i use gksudo multiple times, resulting in execution times of a few minutes, even though everything should be done in a few seconds.
can anyone help me here?
ps: here are my main /etc/sudoers-settings (might have something to do with my problem):
Defaults env_reset,!tty_tickets,timestamp_timeout=2 phoenix ALL= NOPASSWD: /bin/mount,/bin/umount,/usr/sbin/firestarter,/usr/bin/truecrypt,/usr/bin/apt-get
© Ask Ubuntu or respective owner