chris@chris-laptop:~$ sudo bash sudo: timestamp too far in the future: Sep 18 19:52:12 2007 chris@chris-laptop:~$
This is because sudo comes with some in-built magic, storing timestamps of users' sudo access in a file. If a user attempts to sudo when the system time is ahead of the last stored sudo timestamp for that user, then sudo complains and prevents access. This is most probably for security reasons, but it may also be to prevent weirdness in other parts of the system, such as log chronology and monitoring.
To fix this problem is easy - just issue sudo with the -k option like this:
you can then use sudo as normal:chris@chris-laptop:~$ sudo -k
sudo -k runs silently. All it does is clean up the user's last timestamp. To quite from the man page: "The -k (kill) option to sudo invalidates the user's timestamp by setting the time on it to the epoch. The next time sudo is run a password will be required. This option does not require a password and was added to allow a user to revoke sudo permissions from a .logout file.chris@chris-laptop:~$ sudo bash Password: root@chris-laptop:~#
Hope that's useful