From nobody Mon Nov 14 07:53:50 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9hQR1k4sz4hNQc; Mon, 14 Nov 2022 07:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9hQR1Khpz4W3n; Mon, 14 Nov 2022 07:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668412431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T1XZtEolt2skmCqGff8OsPOQzgQ3DOCK3VL/SlAIIxs=; b=ixr48Jbx8THqN4LnMs0xPbeoCg9LgFroHKvgi+Im22QFN3Eo+Wlu48VGham8gWxWSvvWFd GzyZYTxabpe+8309DHlRHP3IV2REEUVRJUu7XDQlp7SyxuMTTaw+o6XhoDa1zccfdj0Guu h5XMWaMySaEdmPNKH7wy26jhehhQSOrSeEJ7XfzQ3sFv29WLU7xvW/34hW24imXdmPWEHN XVWvIRSJUyKlLpNULUs4t/6sfuCVsrB+Tf9vX8p48sJJWHDcSAhLBZnuwIKrJVAOR32OSH hDzpOFaECz+flTdCuOfr/SWQ3dcsOGge3gXBh+jsbv+oi2m2Pz2J+Cte5sQk8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668412431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=T1XZtEolt2skmCqGff8OsPOQzgQ3DOCK3VL/SlAIIxs=; b=tdQr7555Va11c5eAwe7ado9q7FVL6NBYg2H0eYDfItLK5l3HDj8NzSaaacg59bSmfpUofe NwSfONa0GR9K4NRSHT7QJurBWJA59EwuDRhMyg2olUvBEujz9ynjTy7njNylkjtep1RnGp LbTLgpvEaisVCg0tR89tCNIlg7qbTsZaMV6LkWgETO6rAt8qw0U5t+oZ5sVkCGjJHOAlP8 DCh63NiwmUv+QRnZ1eNywbdMR71NvAbi6L2+DiK0+0dKmLF9B+EUjyKhssQIT+pYFdOnF3 a8pkkhdAVRpb0tR7Sr+ZeVPtJLQEPP+wjFta8LLGojG2tC0WV0ahADt+riq4PA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668412431; a=rsa-sha256; cv=none; b=GsAofRCNqrb8UP2PDqpFk1lSdecww4gyxfPzK4GfegW42RtiA7uefRoGnJCMDzFHfRRTRe CNMZy62hEbsLa1l65cr8+AMLt/t8GntTtk9FyAp0+313oiQo3zaiCqjiEvxlo2smQKMd6p dH+m/jHtDXsgISOrI+AVgWUvqMDldwy54Wf2tAlZyT3jsZNxILXxGDxJpKTL9G1ToUcxBN 0noSXl1is3fvN3GYaoYtu9/9VNn8ng4OjxkFd6jcQE6iGKpok+ZykGVMOkhD4PKo6cYORj bgC8Dcmt4yaK6En+lUS9x1/E46CP5NE6IeSe58MPBwTT611U/mf6HkdBx5FOlQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9hQR0PS3zZPr; Mon, 14 Nov 2022 07:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AE7roUn040239; Mon, 14 Nov 2022 07:53:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AE7rosd040238; Mon, 14 Nov 2022 07:53:50 GMT (envelope-from git) Date: Mon, 14 Nov 2022 07:53:50 GMT Message-Id: <202211140753.2AE7rosd040238@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 604610253c0c - stable/13 - shutdown.8: Add a note about needed priviledges to run the command List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 604610253c0c775d241416158f93c05cd227bfe0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=604610253c0c775d241416158f93c05cd227bfe0 commit 604610253c0c775d241416158f93c05cd227bfe0 Author: Gordon Bergling AuthorDate: 2022-11-07 11:00:11 +0000 Commit: Gordon Bergling CommitDate: 2022-11-14 07:53:42 +0000 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 Reviewed by: pauamma Differential Revision: https://reviews.freebsd.org/D36688 (cherry picked from commit e0dfa1c4c45ec1b787020c99310c36aec9d9007b) --- sbin/shutdown/shutdown.8 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8 index 12a7baba0de8..9cb456a87a73 100644 --- a/sbin/shutdown/shutdown.8 +++ b/sbin/shutdown/shutdown.8 @@ -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