From nobody Mon Nov 14 07:58:31 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 4N9hWq3qbTz4hNmw; Mon, 14 Nov 2022 07:58:31 +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 4N9hWq3L1qz4XDd; Mon, 14 Nov 2022 07:58:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668412711; 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=+Mm1+REWs7/dbqJMqdHQE8y9j1TJyeVVsGCpFbIluKc=; b=xGa6+wy9LjCNJaKdbdyq8eg9iqu/htitPQEBTFqFk5lXfHJMiQn0YoJyMAjoeW+0eDM2fX 0vNae0ySl1kz/THh9SwJY5jjnw7WwXIBFi8ea8t/gWIAXS/jdOg9V5HUSjvKv3unQOwMSW MmcxMCYNCRed551enkeV5gDQeceKxYkHoZrh7swCc25J+VBvRaRKTmGxMDL/wGLbVnslXV mysmXIORS6nqyH6Xn3vwIZ23Y+3ts2CSlUt03+xyagHCl/dcvESkXOByYW8mTSyg2V8rNw JiqeYuASpTNq2KXmunbOYvLI2D3P/WFcp+bU4DQYRRPhH8Sk5kvH92WKhdzJ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668412711; 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=+Mm1+REWs7/dbqJMqdHQE8y9j1TJyeVVsGCpFbIluKc=; b=pGUU+bpOmde8xLP9TylZFKnsjAJbSd6ahWbs0Ya1p9d7RXIKGMXlexmsI2iZGzbC5l44Z1 PyPgqflpUJhvC/X/gYgk9msEvSLgoJ184VThKu4KREPCnmW9M5fUY5PVnt7u9y+m3PTBXg //muZHRLYo4RyIM11n4+0BC5oI97p2LgY0qzt/ShDL7g3WL3uQpo89MC0KLuQb3WdZckR/ lbXqX27hCZpItnlvBqJhlD/pZXy5iEwY5K00GLxm1aUmU/j5EONwGRvs2Pg3TWQCiEPPqA P/bVwsPMXXEm7coAFk4lho0wLvotUM+NEZSoLAibkK5zAgW9I3+NdOIViC7f7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668412711; a=rsa-sha256; cv=none; b=l3tW8eEkIZJ92LItTxEcKk9h5WGu1EHzTJgu4YgWyU0rzmDwgdQHmDJCN6dCDq052hIJZz FKoOJHZaz6t6mlAG+WZBXIku5Kq+ZZNq82OVqhn5pl9Ym86MOO0XOJ855Uc7fv2rhEaSQv ELbwPIAM4TmYBW3TN4wIVLJbywN/3msrlgPVF6mlNZRcQGRxF9yAKWcjfSpyezgBl0Key/ OUBFg7VZ2tO8iWs/J9Qokr4EANZl2VF8h8R1U+LQL3MVvxM0bYvzhE0oke8BKk+ts0xGjD Ebk6rNEio8/m7zfh7wclRd1sudrWBDUke0Y0dPdeK2mKKuiX/0Ns3lfqnfz5vg== 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 4N9hWq2GZWzZ0L; Mon, 14 Nov 2022 07:58:31 +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 2AE7wVx2041209; Mon, 14 Nov 2022 07:58:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AE7wVXx041208; Mon, 14 Nov 2022 07:58:31 GMT (envelope-from git) Date: Mon, 14 Nov 2022 07:58:31 GMT Message-Id: <202211140758.2AE7wVXx041208@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: 572cb0ae4680 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 572cb0ae4680d0ec2811f6093524ec75658176f7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=572cb0ae4680d0ec2811f6093524ec75658176f7 commit 572cb0ae4680d0ec2811f6093524ec75658176f7 Author: Gordon Bergling AuthorDate: 2022-11-07 11:00:11 +0000 Commit: Gordon Bergling CommitDate: 2022-11-14 07:58:20 +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 0deeb8dac594..8b136872df53 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 1, 2018 +.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