summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorWarren Block <wblock@FreeBSD.org>2016-09-13 02:18:29 +0000
committerWarren Block <wblock@FreeBSD.org>2016-09-13 02:18:29 +0000
commit677071471e7d81c72fc4e4a71e04441d010611ab (patch)
tree0e34f7695450d6b67a1824f918282c9f21367892 /pw
parent54a011838a76f1406af6edea1f1b2741105c5b80 (diff)
downloadpw-darwin-677071471e7d81c72fc4e4a71e04441d010611ab.tar.gz
pw-darwin-677071471e7d81c72fc4e4a71e04441d010611ab.tar.zst
pw-darwin-677071471e7d81c72fc4e4a71e04441d010611ab.zip
Add another badly-needed simple example to the pw(8) man page.
Diffstat (limited to 'pw')
-rw-r--r--pw/pw.87
1 files changed, 6 insertions, 1 deletions
diff --git a/pw/pw.8 b/pw/pw.8
index 4cf52b6..5a93c52 100644
--- a/pw/pw.8
+++ b/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