Comment 16 for bug 43233

Revision history for this message
Bill Zaumen (zaumen) wrote : Re: [Bug 43233] Re: "sudo -k" fails when timestamp is in the future

On Tue, 2006-12-12 at 17:00 +0000, Martin Pitt wrote:
> Apart from the fact that the warning message might be a bit scary, I
> don't see a problem with it. After all, it is true, and if your clock
> jumps, then there's definitively a problem.
>
> So what exactly do you want to change here?
>

Sorry for not replying earlier - a filter had misfiled your email, and
I'll have to fix that. Also, I was out of town for a while.

The issue was not a warning message, but rather that I could not clear
the time stamp so that sudo would not allow me to preform an operation
after prompting for a password.

There was definitely a problem with my system - I had accidentally set
the date incorrectly when I installed ubuntu, used sudo, and then reset
the date when I noticed the error
.
I had one terminal window where sudo would work, so I used that to set a
root password, which allowed me to work around the problem, but avoiding
the need for a root password is the main reason for using sudo.

If you get the dates really messed up (typically as the result of a user
error), sudo -k should simply allow you to remove the time stamp. I
think what it did was to check the timestamp first because I couldn't
seem to solve the problem.