Date: Thu, 14 Jun 2001 11:36:03 -0400 From: "Drew J. Weaver" <drew.weaver@thenap.com> To: "'bv@wjv.com'" <bv@wjv.com> Cc: "'freebsd-net@freebsd.org'" <freebsd-net@FreeBSD.ORG> Subject: RE: Unable to change time/date Message-ID: <B1A7D9973EBED3119ADD009027DC864918145B@mailman.thenap.com>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2650.12"> <TITLE>RE: Unable to change time/date</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Sorry to bother you,</FONT> </P> <P><FONT SIZE=3D2>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?</FONT></P> <P><FONT SIZE=3D2>Thanks,</FONT> <BR><FONT SIZE=3D2>-Drew</FONT> </P> <BR> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: Bill Vermillion [<A = HREF=3D"mailto:bill@wjv.com">mailto:bill@wjv.com</A>]</FONT> <BR><FONT SIZE=3D2>Sent: Thursday, June 14, 2001 11:10 AM</FONT> <BR><FONT SIZE=3D2>To: Drew J. Weaver</FONT> <BR><FONT SIZE=3D2>Cc: 'freebsd-net@freebsd.org'</FONT> <BR><FONT SIZE=3D2>Subject: Re: Unable to change time/date</FONT> </P> <BR> <P><FONT SIZE=3D2>On Thu, Jun 14, 2001 at 11:09:13AM -0400, Drew J. = Weaver thus</FONT> <BR><FONT SIZE=3D2>sprach:</FONT> </P> <P><FONT SIZE=3D2>> Whenever i try to change the time/date on = my FreeBSD 4.2 server</FONT> <BR><FONT SIZE=3D2>> I get the error that says Kernel: time changed = clamped to -1</FONT> <BR><FONT SIZE=3D2>> seconds. I have absolutely no idea what is = going on, I tried it in</FONT> <BR><FONT SIZE=3D2>> both single and multi-user mode. The command I = am using is this</FONT> </P> <P><FONT SIZE=3D2>> date 200106141030.01</FONT> </P> <P><FONT SIZE=3D2>> Is this wrong?</FONT> </P> <P><FONT SIZE=3D2>Sounds like you are at security level 2 or = greater. Check your</FONT> <BR><FONT SIZE=3D2>rc.conf file. If at 2, reboot into single = user, edit rc.conf,</FONT> <BR><FONT SIZE=3D2>reboot to multiple user.</FONT> </P> <P><FONT SIZE=3D2>Security level 2 and 3 restrict time changes to less = than 1 second.</FONT> </P> <P><FONT SIZE=3D2>Your message is the exact message documented in = init(8)</FONT> </P> <BR> <P><FONT SIZE=3D2>-- </FONT> <BR><FONT SIZE=3D2>Bill Vermillion - bv @ wjv . com</FONT> </P> <P><FONT SIZE=3D2>To Unsubscribe: send mail to = majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>with "unsubscribe freebsd-net" in the body = of the message</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0F4E7.B85ED2FE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1A7D9973EBED3119ADD009027DC864918145B>