From owner-freebsd-questions Sun Nov 12 17:29:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id BBE1337B479 for ; Sun, 12 Nov 2000 17:29:49 -0800 (PST) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id RAA07194; Sun, 12 Nov 2000 17:29:38 -0800 Message-ID: <3A0F4402.59112955@urx.com> Date: Sun, 12 Nov 2000 17:29:38 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Petr Murmak Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Unable to change date/time References: <006f01c04d06$fec17e10$0101a8c0@palitko> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Petr Murmak wrote: > > Hi! > > I installed FreeBSD 4.1.1 from burned ISO image. > > I tried to change date or time, but I wasn't successfull. > > When I wrote for example: > > # date 0001 > > system response: > > Fri Nov 10 00:01:00 CET 2000 > > but immediately after that I wrote: > > # date > > and system response: > > Fri Nov 10 00:34:40 CET 2000 > > And in /var/log/messages i found: > > Nov 10 00:34:38 test /kernel: Time adjustment clamped to -1 second > Nov 10 00:34:38 test date: date set by petr > > I'm logged as petr, but su to root. > > Any suggestions? Read "man date" again and pay attention to the long string date. The example I use is The command: date 8506131627 sets the date to ``June 13, 1985, 4:27 PM''. The manpage indicates a year range of 80-38 is equivalent to 1980-2038. Kent > > Petr > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message