diff options
author | Warren Block <wblock@FreeBSD.org> | 2016-09-13 02:18:29 +0000 |
---|---|---|
committer | Warren Block <wblock@FreeBSD.org> | 2016-09-13 02:18:29 +0000 |
commit | 677071471e7d81c72fc4e4a71e04441d010611ab (patch) | |
tree | 0e34f7695450d6b67a1824f918282c9f21367892 /pw | |
parent | 54a011838a76f1406af6edea1f1b2741105c5b80 (diff) | |
download | pw-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.8 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |