From nobody Sun Apr 03 12:52:57 2022 X-Original-To: dev-commits-src-main@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 962B31A65A59; Sun, 3 Apr 2022 12:52:58 +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 4KWYjP5rQpz3PKb; Sun, 3 Apr 2022 12:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648990377; 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=n8sybJ65hHb7PH30AP2FzRhNmV/kjZm7PXt5Xm1KRZQ=; b=K856AU7gKi/vXtPwIn25u60iDo3Ydqr7KsGaz7P81Yrf+sc3G5FCWTugVUSnzLwvlfc7Ru WNhv2SAv8NVe/Fi0+CR2916GV9zVPjy+ukVs4lA3Q3p1Q5QOixR8zum8wuRLY5jG9kxpiE +rTTfjvqorNI9JQTkxBFpJtxI4pfrrr2v8Oj3w6/ofOk79bASvhJzYKh/odEp9FooqKTzW 64i6Ay7BnL153eITjxj0VVzdSAEMZ5ybyye58CeqF84jQTTCL5tsI6stQaMvpWDPAvAdTu RYYtZzxqB1O5NuKyRnUOraM2wQi1LgqG+NqOR0qJ+4oIWXv1cFHEweYfnwGBjg== 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 A9B4D1DE0A; Sun, 3 Apr 2022 12:52:57 +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 233Cqvpn094236; Sun, 3 Apr 2022 12:52:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 233CqvKv094235; Sun, 3 Apr 2022 12:52:57 GMT (envelope-from git) Date: Sun, 3 Apr 2022 12:52:57 GMT Message-Id: <202204031252.233CqvKv094235@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 84733f2e9676 - main - pw.8: Do not specify full path to shell in examples List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 84733f2e9676853b9420b1443ff98ea98dadc0d6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648990377; 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=n8sybJ65hHb7PH30AP2FzRhNmV/kjZm7PXt5Xm1KRZQ=; b=qmHKXWt/gvwOWTuvZvdBYPW0Xq8Fydh56wC5YwyvBoYE2DN8gYbIZrUfJkbUXKskDZUKje plh7dRXv5yF7chrAtFN9tvvttmKDd3h1hQQBxJ0TpGjXIlejShm96hmz8K7d0Oqgc7/6wf GGPVgYBaID6xT/oGNRYSkp5Uz+cNnd4PVAksZGmUj839fQl82Dm9G0J7tHECHBqGIDSBTI hovfxhOLHIZnoZmP/kIHv/yuLmpxEePj9haH2uQ5+4FXTbO6oSIIrhAR7kKSn0CJkQrp5p ZYw/MV7XbF+wr2bEhOFZgZVjnYyN8IJJdaTl5Ha5oTelVQF0KSz9cEe7lPlQVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648990377; a=rsa-sha256; cv=none; b=UAab9T0FKFEt19V7Vzm7uhTy1Y/XWfZYMdb0mT4diqvFboLz3+Nsxf31MOc4nNqd3GUXeK tj2B9dTogK5BOxHvGA75lGkhlk48cRj1wOnoJuvC4KHpGK0O4UXuBYhF5lSVzMgQZ0F3uG xoHkssTLkomFifjycadfto3iNAI5kK5q2LRKKn4CQAoDBIelHJxNET8MN55XcXSa7d2j2Y zy62ybxpij1MCdB7Ay6FQWKjH7/hdCOR5O6XtKBeenQ473sNZAl2zR/d+o2pS4zk//f7ij V/vYDM6N86wMptlp3yf4yi8EjU+LMSAGtMBuetnxFJaknjKVwqPFDgQim5YXkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=84733f2e9676853b9420b1443ff98ea98dadc0d6 commit 84733f2e9676853b9420b1443ff98ea98dadc0d6 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-04-03 12:50:28 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-04-03 12:52:08 +0000 pw.8: Do not specify full path to shell in examples Providing a full path to a shell is discouraged in the description of the -s flag. Let's follow the best practices in the examples. MFC after: 1 week --- usr.sbin/pw/pw.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8 index 752eb4ff4b83..d9072872bc2b 100644 --- a/usr.sbin/pw/pw.8 +++ b/usr.sbin/pw/pw.8 @@ -975,7 +975,7 @@ A new home directory at is created if it does not already exist. Finally, a random password is generated and displayed: .Bd -literal -offset indent -pw useradd -n gsmith -c "Glurmo Smith" -s /bin/csh -m -w random +pw useradd -n gsmith -c "Glurmo Smith" -s csh -m -w random .Ed .Pp Delete the gsmith user and their home directory, including contents.