[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: date and time



> hi I have a debian gnu/liniux mail server
> when I chage the date using date command
> the date is correct
> when I type date

Yes, the 'date' command sets the system clock.

> but when I log into the server
> it comes up as
> Linux mail 2.2.17 #1 Sun Jun 25 09:24:12 EST 2000

No.  That is the kernel build date.  It is a version string.  It is
not related to your system clock in any way.  It is not used on mail.
It is the same information that is output when you do 'uname -a'.

  uname -a

> this effects all the emails that come in and out
> is there another way to change this time ?

I don't think that is affecting your mail.  Please check the result
from the 'date' command.  If that is not set correctly then you can
manually set it.  But the 'ntpdate' and 'ntp' commands as suggested by
another user are better options.  Also review the 'hwclock' command
documentation.

Bob

Attachment: pgpmlSAPwqBgm.pgp
Description: PGP signature


Reply to: