From owner-freebsd-net Thu Jun 14 8:20:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailman.thenap.com (mailman.thenap.com [209.190.0.10]) by hub.freebsd.org (Postfix) with ESMTP id B7E7037B405 for ; Thu, 14 Jun 2001 08:20:11 -0700 (PDT) (envelope-from drew.weaver@thenap.com) Received: by mailman.thenap.com with Internet Mail Service (5.5.2650.21) id ; Thu, 14 Jun 2001 11:36:04 -0400 Message-ID: From: "Drew J. Weaver" To: "'bv@wjv.com'" Cc: "'freebsd-net@freebsd.org'" Subject: RE: Unable to change time/date Date: Thu, 14 Jun 2001 11:36:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0F4E7.B85ED2FE" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0F4E7.B85ED2FE Content-Type: text/plain; charset="iso-8859-1" Sorry to bother you, I did a shutdown now, went into single user, went to /etc/rc.conf and changed kern.securelevel to 1, rebooted back into multiuser mode and it said Operation Not permitted, I also tried using sysctl -w kern.securelevel=1 and it said operation not permitted, any other ideas? Thanks, -Drew -----Original Message----- From: Bill Vermillion [mailto:bill@wjv.com] Sent: Thursday, June 14, 2001 11:10 AM To: Drew J. Weaver Cc: 'freebsd-net@freebsd.org' Subject: Re: Unable to change time/date On Thu, Jun 14, 2001 at 11:09:13AM -0400, Drew J. Weaver thus sprach: > Whenever i try to change the time/date on my FreeBSD 4.2 server > I get the error that says Kernel: time changed clamped to -1 > seconds. I have absolutely no idea what is going on, I tried it in > both single and multi-user mode. The command I am using is this > date 200106141030.01 > Is this wrong? Sounds like you are at security level 2 or greater. Check your rc.conf file. If at 2, reboot into single user, edit rc.conf, reboot to multiple user. Security level 2 and 3 restrict time changes to less than 1 second. Your message is the exact message documented in init(8) -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message ------_=_NextPart_001_01C0F4E7.B85ED2FE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Unable to change time/date

Sorry to bother you,

I did a shutdown now, went into single user, went to = /etc/rc.conf and changed kern.securelevel to 1, rebooted back into = multiuser mode and it said Operation Not permitted, I also tried using = sysctl -w kern.securelevel=3D1 and it said operation not permitted, any = other ideas?

Thanks,
-Drew


-----Original Message-----
From: Bill Vermillion [mailto:bill@wjv.com]
Sent: Thursday, June 14, 2001 11:10 AM
To: Drew J. Weaver
Cc: 'freebsd-net@freebsd.org'
Subject: Re: Unable to change time/date


On Thu, Jun 14, 2001 at 11:09:13AM -0400, Drew J. = Weaver thus
sprach:

>  Whenever i try to change the time/date on = my FreeBSD 4.2 server
> I get the error that says Kernel: time changed = clamped to -1
> seconds. I have absolutely no idea what is = going on, I tried it in
> both single and multi-user mode. The command I = am using is this

> date 200106141030.01

> Is this wrong?

Sounds like you are at security level 2 or = greater.  Check your
rc.conf file.  If at 2, reboot into single = user, edit rc.conf,
reboot to multiple user.

Security level 2 and 3 restrict time changes to less = than 1 second.

Your message is the exact message documented in = init(8)


--
Bill Vermillion -   bv @ wjv . com

To Unsubscribe: send mail to = majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body = of the message

------_=_NextPart_001_01C0F4E7.B85ED2FE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message