sudo and timestamp

Marius Gedminas marius at pov.lt
Sat Jun 3 08:57:26 UTC 2006


On Fri, Jun 02, 2006 at 03:44:06PM -0400, ubuntu at rio.vg wrote:
> I installed Ubuntu on my laptop today, and at one point the clock on it
> got severely off by about three hours into the future.  No big deal
> normally, this sort of things happens to my laptop sometimes, ntp fixes it.
> 
> However, now there's a problem.  I can't run sudo.
> 
> "sudo: timestamp too far in the future: Jun  2 17:22:11 2006"

I've seen this message a few times, after reseting my system clock
backwards a bit.  It seems to be just a harmless warning -- it never
prevented me from using sudo.

(Now when your system hostname cannot be resolved by DNS, sudo becomes
inconvenient because you have to wait 30 seconds until it times out and
executes the command you specified.)

> Does this mean that Ubuntu will prevent me from doing any configuration
> on my laptop for the next hour and a half?  (And, is it just me, or is
> this a supremely bad design decision?)

No.

> I'd move back to the, imho, more sane su system, but I can't do that,
> either, since I'd need sudo to set the root password...

Marius Gedminas
-- 
I once asked an older coworker and Solaris guru what happened with the
Unix-haters list. He told me that it stopped being quite so funny once Windows
NT came along.
		-- the gnat at slashdot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060603/f147da10/attachment.sig>


More information about the ubuntu-users mailing list