in NetBSD, setting the clock back is inhibited in securelevel 2, not s-lev 1
This commit is contained in:
parent
dfc8543445
commit
e47e6a8f47
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: init.8,v 1.9 1997/07/19 16:51:40 perry Exp $
|
||||
.\" $NetBSD: init.8,v 1.10 1997/07/19 16:58:47 perry Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -103,9 +103,6 @@ be turned off; disks for mounted filesystems,
|
||||
and
|
||||
.Pa /dev/kmem
|
||||
are read-only.
|
||||
The
|
||||
.Xr settimeofday 2
|
||||
system call can only advance the time.
|
||||
.It Ic 2
|
||||
Highly secure mode \- same as secure mode, plus disks are always
|
||||
read-only whether mounted or not.
|
||||
@ -113,6 +110,9 @@ This level precludes tampering with filesystems by unmounting them,
|
||||
but also inhibits running
|
||||
.Xr newfs 8
|
||||
while the system is multi-user.
|
||||
The
|
||||
.Xr settimeofday 2
|
||||
system call can only advance the time.
|
||||
.El
|
||||
.Pp
|
||||
Normally, the system runs in level 0 mode while single user
|
||||
|
Loading…
Reference in New Issue
Block a user