From owner-freebsd-questions Sun Nov 12 18:26: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from christel.heitec.net (christel.heitec.net [193.101.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 692C237B479 for ; Sun, 12 Nov 2000 18:26:00 -0800 (PST) Received: from heitec.net (paladin.heitec.net [193.101.232.30]) by christel.heitec.net (Postfix) with ESMTP id 600BE354811; Mon, 13 Nov 2000 03:31:53 +0100 (CET) Message-ID: <3A0F5175.CE6A5EB4@heitec.net> Date: Mon, 13 Nov 2000 03:27:01 +0100 From: bdluevel@heitec.net X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Petr Murmak , freebsd-questions@freebsd.org Subject: Re: Unable to change date/time References: <006f01c04d06$fec17e10$0101a8c0@palitko> <3A0F4402.59112955@urx.com> <008301c04d15$e99bd5d0$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: [...] > su-2.04# date 8506131627 > Thu Jun 13 17:27:00 CEST 1985 > su-2.04# date > Mon Nov 13 04:00:36 CET 2000 > > And in /var/log/messages this 2 lines added: > > Nov 13 04:00:36 test /kernel: Time adjustment clamped to -1 second > Nov 13 04:00:36 test date: date set by petr If you've set the securelevel to 2 or more, then date/time changes are clamped to 1 second. See init(8): "In addition, kernel time changes are restricted to less than or equal to one second. Attempts to change the time by more than this will log the message ``Time adjustment clamped to +1 second''." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message