Add an entry for questions regarding changing the time if
kern.securelevel > 1. Fix a dangling pronoun in the preceeding question as well. PR: 23200 Submitted by: Mike Meyer <mwm@mired.org>
This commit is contained in:
parent
87102df05e
commit
f5ff74fdf9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=8479
2 changed files with 60 additions and 8 deletions
|
@ -15,7 +15,7 @@
|
|||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.127 2000/11/29 10:45:22 sheldonh Exp $</pubdate>
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.128 2000/11/29 14:09:43 jim Exp $</pubdate>
|
||||
|
||||
<abstract>
|
||||
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
|
||||
|
@ -6535,9 +6535,35 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
|
||||
|
||||
<para>You cannot lower the security level; you have to boot
|
||||
to single mode to install the kernel, or change it in
|
||||
<filename>/etc/rc.conf</filename> then reboot. See the
|
||||
&man.init.8; man page for details on securelevel, and
|
||||
to single mode to install the kernel, or change the
|
||||
security in <filename>/etc/rc.conf</filename> then reboot. See
|
||||
the &man.init.8; man page for details on securelevel, and
|
||||
see <filename>/etc/defaults/rc.conf</filename> and the
|
||||
&man.rc.conf.5; man page for more information on rc.conf.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="kernel-securelevel-time">
|
||||
<para>I can't change the time on my system by more than one second!
|
||||
How do I get around this?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>Short answer: You're probably at security level
|
||||
greater than 1. Reboot directly to single user mode to
|
||||
change the date.</para>
|
||||
|
||||
<para>Long answer: FreeBSD disallows changing the time by
|
||||
more that one second at security levels greater than 1. You
|
||||
can check your security level with the command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
|
||||
|
||||
<para>You cannot lower the security level; you have to boot
|
||||
to single mode to change the date, or change the security
|
||||
level in <filename>/etc/rc.conf</filename> then reboot. See
|
||||
the &man.init.8; man page for details on securelevel, and
|
||||
see <filename>/etc/defaults/rc.conf</filename> and the
|
||||
&man.rc.conf.5; man page for more information on rc.conf.</para>
|
||||
</answer>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.127 2000/11/29 10:45:22 sheldonh Exp $</pubdate>
|
||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.128 2000/11/29 14:09:43 jim Exp $</pubdate>
|
||||
|
||||
<abstract>
|
||||
<para>This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
|
||||
|
@ -6535,9 +6535,35 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
|
|||
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
|
||||
|
||||
<para>You cannot lower the security level; you have to boot
|
||||
to single mode to install the kernel, or change it in
|
||||
<filename>/etc/rc.conf</filename> then reboot. See the
|
||||
&man.init.8; man page for details on securelevel, and
|
||||
to single mode to install the kernel, or change the
|
||||
security in <filename>/etc/rc.conf</filename> then reboot. See
|
||||
the &man.init.8; man page for details on securelevel, and
|
||||
see <filename>/etc/defaults/rc.conf</filename> and the
|
||||
&man.rc.conf.5; man page for more information on rc.conf.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="kernel-securelevel-time">
|
||||
<para>I can't change the time on my system by more than one second!
|
||||
How do I get around this?</para>
|
||||
</question>
|
||||
|
||||
<answer>
|
||||
<para>Short answer: You're probably at security level
|
||||
greater than 1. Reboot directly to single user mode to
|
||||
change the date.</para>
|
||||
|
||||
<para>Long answer: FreeBSD disallows changing the time by
|
||||
more that one second at security levels greater than 1. You
|
||||
can check your security level with the command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen>
|
||||
|
||||
<para>You cannot lower the security level; you have to boot
|
||||
to single mode to change the date, or change the security
|
||||
level in <filename>/etc/rc.conf</filename> then reboot. See
|
||||
the &man.init.8; man page for details on securelevel, and
|
||||
see <filename>/etc/defaults/rc.conf</filename> and the
|
||||
&man.rc.conf.5; man page for more information on rc.conf.</para>
|
||||
</answer>
|
||||
|
|
Loading…
Reference in a new issue