Add another badly-needed simple example to the pw(8) man page.

This commit is contained in:
Warren Block 2016-09-13 02:18:29 +00:00
parent 04a5c73b30
commit bb00e5490b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305758

View File

@ -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