shutdown.8: Add a note about needed priviledges to run the command

In order to use the shutdown command, the user must
have root privileges or be a member of the operator group.

PR:		266525
Reported by:	Zsolt Udvari <uzsolt at uzsolt hu>
Reviewed by:	pauamma
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D36688
This commit is contained in:
Gordon Bergling 2022-11-07 12:00:11 +01:00
parent 8a220816c7
commit e0dfa1c4c4

View File

@ -28,7 +28,7 @@
.\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95
.\" $FreeBSD$
.\"
.Dd January 11, 2020
.Dd November 7, 2022
.Dt SHUTDOWN 8
.Os
.Sh NAME
@ -56,6 +56,10 @@ utility provides an automated shutdown procedure for super-users
to nicely notify users when the system is shutting down,
saving them from system administrators, hackers, and gurus, who
would otherwise not bother with such niceties.
In order to use the
.Nm
command, the user must have root privileges or be a member of the
operator group.
.Pp
The following options are available:
.Bl -tag -width indent