How to solve "sudo: timestamp too far in the future"
sudo is a must to have in all Unix host to prevent wide-spread of root account. It also has built-in security checking by time. However, sometimes this feature might annoy sudo to stop working after adjusting date/time back from the future.
sudo: timestamp too far in the future: Aug 9 18:31:44 2007
To solve this problem, I have a clue.
sudo usually stores access information in /var/run/sudo
including timestamp in user basis. So resolving this problem is as simple as just remove your user from that directory. For example, in case of your user is rootman
.
rm -rf /var/run/sudo/root/man
sudo will forget all you have done in the future and serves you as usual.
- sugree's blog
- 6445 reads
Awesome, this worked for me.
No...
It works!
there is an easier way
Post new comment