You are not logged in.

#1 2009-09-19 22:36:11

absolutezero1287
Member
Registered: 2008-11-13
Posts: 133

Sudo issue and incorrect time and date

The error started occurring after I decided to set the right time on my bios's clock. I also messed with hwclock a few times to change the time.

sudo: timestamp too far in the future: Nov  6 12:10:40 2008

Is this a really bad thing?

Also, besides installing something like opentpd, what can I do to fix my system's time and date?

Offline

#2 2009-09-19 23:46:57

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Sudo issue and incorrect time and date

Try deleting /var/lib/hwclock/adjtime and restart your system.


To know or not to know ...
... the questions remain forever.

Offline

#3 2009-09-20 02:50:50

arunix
Member
From: /home/kurali
Registered: 2009-04-08
Posts: 93

Re: Sudo issue and incorrect time and date

bernacher is saying right here if  the problem is still remain  then change battery(Cell)......

Last edited by arunix (2009-09-20 02:51:15)


Minds are like parachutes. They only function when they are open.

Offline

#4 2009-09-20 03:07:29

absolutezero1287
Member
Registered: 2008-11-13
Posts: 133

Re: Sudo issue and incorrect time and date

arunix wrote:

bernacher is saying right here if  the problem is still remain  then change battery(Cell)......

Actually, I already did change the battery and I'm still getting the error. What I haven't done is delete that particular file....yet.

Offline

#5 2009-09-20 06:57:21

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Sudo issue and incorrect time and date

sudo -k

Offline

#6 2009-09-20 13:36:08

arunix
Member
From: /home/kurali
Registered: 2009-04-08
Posts: 93

Re: Sudo issue and incorrect time and date

Actually, I already did change the battery and I'm still getting the error. What I haven't done is delete that particular file....yet.

whts the value of the file ?


Minds are like parachutes. They only function when they are open.

Offline

#7 2009-09-20 18:25:38

absolutezero1287
Member
Registered: 2008-11-13
Posts: 133

Re: Sudo issue and incorrect time and date

Already deleted /var/lib/hwclock/adjtime and restarted the comp. Everything's working fine.

Installed openntpd and its taking care of the incorrect time.

The only issue I have left is with the sudoers file. I want to add timestamp_timeout=0 for a little bit of added security but I'm doing something wrong.

Offline

#8 2009-09-24 03:03:50

absolutezero1287
Member
Registered: 2008-11-13
Posts: 133

Re: Sudo issue and incorrect time and date

I think the timestamp_timeout=0 line goes along with the defaults

defaults env_reset insults timestamp_timeout=0

does that look right?

Offline

Board footer

Powered by FluxBB