Comment 14 for bug 132456

Revision history for this message
viking777 (viking-f2s) wrote :

I think it might be something to do with the timing of the password cache. This time I waited 30 minutes and after that time it asked me for a password again so it is working I guess.

/var/run/sudo/username does indeed include a ticket called 'unknown' if you delete it the password is requested again and the 'unknown' ticket returns.

I include the /etc/sudoers as requested, but I am not unhappy with the situation as it is, 30 minutes of remembered password instead of 15 is not going to make a big difference to my usage of the machine.

Thanks for your help, hope I haven't wasted too much of your time.

Contents of /etc/sudoers/:

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults

Defaults !lecture,tty_tickets,!fqdn

# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
username ALL= NOPASSWD: /usr/sbin/firestarter