From owner-freebsd-questions Wed Nov 6 2:51:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43A2F37B401 for ; Wed, 6 Nov 2002 02:51:31 -0800 (PST) Received: from ns2.romtelecom.net (ns2.romtelecom.net [193.231.100.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB6343E91 for ; Wed, 6 Nov 2002 02:51:29 -0800 (PST) (envelope-from iuliand@romtelecom.net) Received: from romtelecom.net (ns1.romtelecom.net [193.231.100.2]) by ns2.romtelecom.net (8.11.3/8.11.3) with ESMTP id gA73pgH10725 for ; Thu, 7 Nov 2002 05:51:42 +0200 Message-ID: <3DC91EA9.A0A2AAFF@romtelecom.net> Date: Wed, 06 Nov 2002 13:52:41 +0000 From: iulian X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd Subject: Re: date set unable References: <3DC7F80D.11A0D9B4@romtelecom.net> <20021105141206.GK68683@freepuppy.bellavista.cz> <3DC91959.8A55E5B4@romtelecom.net> <3DC8F4D2.2030803@potentialtech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bill Moran wrote: > iulian wrote: > >> roman@freepuppy ~ 1030:0 > man date|col -b|grep -C1 securelevel > >> > >> Only the superuser may set the date, and if the system securelevel (see > >> securelevel(8)) is greater than 1, the time may not be changed by more > >> than 1 second. > >> roman@freepuppy ~ 1031:0 > sysctl kern.securelevel > >> kern.securelevel: -1 > > > > > > I can modify the date, but doesn't remeains like I do! I mean when I do > > date -v -1H > > everything looks fine, but if I do > > date > > the output is the same with the date before. > > Does the date command give you an error when you try to set it? > No, it does what I want to, but goes back to its hour. > > Are you running ntpd or something similar that synchronizes your date/time > with another computer? That will drive you batty: every time you change > the date, ntpd changes it back. No, I'm not running ntp. Curious, isn't it? > > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message