From 84733f2e9676853b9420b1443ff98ea98dadc0d6 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Sun, 3 Apr 2022 14:50:28 +0200 Subject: [PATCH] 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.