|
Lines 6533-6545
Link Here
|
| 6533 |
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen> |
6533 |
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen> |
| 6534 |
|
6534 |
|
| 6535 |
<para>You cannot lower the security level; you have to boot |
6535 |
<para>You cannot lower the security level; you have to boot |
| 6536 |
to single mode to install the kernel, or change it in |
6536 |
to single mode to install the kernel, or change the |
| 6537 |
<filename>/etc/rc.conf</filename> then reboot. See the |
6537 |
security in <filename>/etc/rc.conf</filename> then reboot. See |
| 6538 |
&man.init.8; man page for details on securelevel, and |
6538 |
the &man.init.8; man page for details on securelevel, and |
| 6539 |
see <filename>/etc/defaults/rc.conf</filename> and the |
6539 |
see <filename>/etc/defaults/rc.conf</filename> and the |
| 6540 |
&man.rc.conf.5; man page for more information on rc.conf.</para> |
6540 |
&man.rc.conf.5; man page for more information on rc.conf.</para> |
| 6541 |
</answer> |
6541 |
</answer> |
| 6542 |
</qandaentry> |
6542 |
</qandaentry> |
|
|
6543 |
|
| 6544 |
<qandaentry> |
| 6545 |
<question id="kernel-chflag-failure"> |
| 6546 |
<para>I can't change the time on my system by more than one second! |
| 6547 |
How do I get around this?</para> |
| 6548 |
</question> |
| 6549 |
|
| 6550 |
<answer> |
| 6551 |
<para>Short answer: You're probably at security level |
| 6552 |
greater than 1. Reboot directly to single user mode to |
| 6553 |
change the date.</para> |
| 6554 |
|
| 6555 |
<para>Long answer: FreeBSD disallows changing the time by |
| 6556 |
more that one second at security levels greater than 1. You |
| 6557 |
can check your security level with the command:</para> |
| 6558 |
|
| 6559 |
<screen>&prompt.root; <userinput>sysctl kern.securelevel</userinput></screen> |
| 6560 |
|
| 6561 |
<para>You cannot lower the security level; you have to boot |
| 6562 |
to single mode to change the date, or change the security |
| 6563 |
level in <filename>/etc/rc.conf</filename> then reboot. See |
| 6564 |
the &man.init.8; man page for details on securelevel, and |
| 6565 |
see <filename>/etc/defaults/rc.conf</filename> and the |
| 6566 |
&man.rc.conf.5; man page for more information on rc.conf.</para> |
| 6567 |
</answer> |
| 6568 |
</qandaentry> |
| 6569 |
|
| 6543 |
</qandaset> |
6570 |
</qandaset> |
| 6544 |
</chapter> |
6571 |
</chapter> |