From owner-freebsd-questions Thu Nov 21 10:12:16 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 7A8B137B401 for ; Thu, 21 Nov 2002 10:12:13 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0EAF43E8A for ; Thu, 21 Nov 2002 10:12:12 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA20192; Thu, 21 Nov 2002 10:12:05 -0800 Message-ID: <3DDD21F4.2@owt.com> Date: Thu, 21 Nov 2002 10:12:04 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Brendan McAlpine Cc: Matthew Seaman , questions@FreeBSD.ORG Subject: Re: Setting date with securelevel over 1 References: <5A7F3C98-FD7B-11D6-9948-000393012742@macconnect.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Brendan McAlpine wrote: > It returns securelevel -1 but when I run > > date -v +1H > > It displays the correct date only immediately after that command. If I > type in date right after that the time returns to the wrong time, one > hour behind the real time. > > Could it be a daylight savings setting someplace? Do a man date. The -v adjusts it but doesn't set it. The only examples for actually setting the date are The command: date 8506131627 sets the date to ``June 13, 1985, 4:27 PM''. The command: date 1432 sets the time to 2:32 PM, without modifying the date. Kent > > Any other ideas? > > Brendan > On Thursday, November 21, 2002, at 12:47 PM, Matthew Seaman wrote: > >> On Thu, Nov 21, 2002 at 12:32:25PM -0500, Brendan McAlpine wrote: >> >>> Hmmm >>> >>> In my rc.conf file I have: >>> >>> kern_securelevel_enable="NO" >>> >>> already in there and I still can't adjust the date. >> >> >> What does >> >> sysctl kern.securelevel >> >> return? If it's not '-1' then either you need to reboot to bring that >> rc.conf setting into effect or you need to work out what is overriding >> the usual mechanisms for setting securelevel in your boot process. >> >> Cheers, >> >> Matthew >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks >> Savill Way >> Marlow >> Tel: +44 1628 476614 Bucks., SL7 1TH UK >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > . > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message