From bb00e5490be1df0cdc3c1f30aa4ddb131c500238 Mon Sep 17 00:00:00 2001 From: Warren Block Date: Tue, 13 Sep 2016 02:18:29 +0000 Subject: [PATCH] Add another badly-needed simple example to the pw(8) man page. --- usr.sbin/pw/pw.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8 index 4cf52b6c21f..5a93c52bee6 100644 --- a/usr.sbin/pw/pw.8 +++ b/usr.sbin/pw/pw.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 23, 2016 +.Dd September 12, 2016 .Dt PW 8 .Os .Sh NAME @@ -966,6 +966,11 @@ 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 .Ed +.Pp +Delete the gsmith user and their home directory, including contents. +.Bd -literal -offset indent +pw userdel -n gsmith -r +.Ed .Sh EXIT STATUS The .Nm