You are not logged in.

#1 2008-06-15 16:04:46

crisnoh
Member
From: Baghdad, Iraq
Registered: 2008-04-22
Posts: 67
Website

[SOLVED]System clock off

My system clock is set a day late.  I tried using the "date" command, but I get the following error:

$ sudo date 06151150
sudo: timestamp too far in the future: Jun 16 11:37:36 2008

Here are the pertinent lines from my rc.conf:

LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

Any help would be great!

Last edited by crisnoh (2008-06-15 16:31:35)

Offline

#2 2008-06-15 16:24:02

biio
Member
From: Sweden
Registered: 2005-07-19
Posts: 39

Re: [SOLVED]System clock off

Hey, this seems to be a security feature of sudo, so if you can, run it as root instead.
There is a few solutions to the problem, one of which seems to be the one listed at here, where the solution just seems to be removing a simple file, but I have not tried it myself so dont know for sure.

Offline

#3 2008-06-15 16:30:45

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: [SOLVED]System clock off

sudo -k removes the timestamp
you might want to install openntpd, it keeps you clock in sync

Offline

#4 2008-06-15 16:30:57

crisnoh
Member
From: Baghdad, Iraq
Registered: 2008-04-22
Posts: 67
Website

Re: [SOLVED]System clock off

Awesome!  Switching to root did the trick.  Thanks for your help.

Offline

Board footer

Powered by FluxBB