今天出现下面的错误,但是我的当前时间 是对的
lwx@lwx-desktop:~$ sudo -i
sudo: timestamp too far in the future: Apr 16 20:38:12 2008
解决如下:
method 1:
=========
I was able to get around this by doing the following:
1. Check the timestamp sudo reports (will look something like below).
sudo: timestamp too far in the future: Jun 17 08:17:55 2006
2. Use Adjust Date & Time to set the date/time to the sudo timestamp or later.
3. Execute the 'sudo -k' command. (Clears the timestamp).
4. Use Adjust Date & Time to set the date/time back to the correct values.
Worked for me!
peace!
method 2:
=========
You should also be able to remove the user file in /var/run/sudo
I did this:
- su to root
- remove directory (rm -rf /var/run/sudo/username
移走/var/run/sudo下面的username后就正常了,呵呵
阅读(3024) | 评论(0) | 转发(0) |