You are not logged in.
Pages: 1
I'm using fluxbox and configured my menu so that I can choose the Gparted option. At first gksu wouldn't start gparted so I just opened it from the terminal. Now I'm determined to fix this bug. When I edit my menu so that I can again choose gparted I'm allowed access to the program without being prompted for a password. It may have something to do with my sudoers file.
flubox menu entry
[exec] (Gparted) {gksu gparted}
/etc/sudoers
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
Below is the notification I get when I start Gparted
Granted permissions without asking for password
The 'gparted' program was started with the privileges of the root user
without the need to ask for a password, due to your system's authentication
mechanism setup. It is possible that you are being allowed to run specific programs
as user root without the need for a password, or that the password is cached.
This is not a problem report; it's simply a notification to make sure you are aware of this.
Any ideas?
Offline
Ok, I'm pretty sure that its the fact that password is cached. How do I prevent this from happening?
Offline
"google sudo password caching" timeout will tell you about timestamp_timeout.
Or the fifth line of man sudo.
Offline
I read the man page and googled. I still don't really know how to adjust the timeout so that I'm asked for root access every time. At least for gksu/gksudo.
Offline
I have the same issue: when I typed gksu gedit in a terminal for the first time it asked for my password. Since then (several hours ago) it has not asked for the password again (instead I get the same message as absolutezero1287), even if I wait an hour before using it again. Hence I don't think the issue is password caching. On the other hand, sudo still asks for my password after five minutes.
Any ideas anyone?
Offline
Bump
This error occurs if I've used sudo before. I have a terminal open and used the sudo command. I left the window open then started gparted and it didn't ask for permissions. I closed the terminal window, started gparted and the same thing happened.
Anyone have any ideas?
Offline
Bump
Offline
Try this.
1. Edit /etc/sudoers with 'visudo' command as root:
# for wheel group privilege:
%wheel ALL=/usr/sbin/gparted
OR
# for a single user privilege:
<user> ALL=/usr/sbin/gparted
2. Execute:
$ gksudo gparted
Offline
Old thread, but here is the answer.
If you have seahorse installed, the password is in section Passwords/default. Find the one for gksu, and delete it.
Offline
Pages: 1