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
This commit is contained in:
Mateusz Piotrowski 2022-04-03 14:50:28 +02:00
parent 5fce57dd12
commit 84733f2e96

View File

@ -975,7 +975,7 @@ A new home directory at
is created if it does not already exist. is created if it does not already exist.
Finally, a random password is generated and displayed: Finally, a random password is generated and displayed:
.Bd -literal -offset indent .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 .Ed
.Pp .Pp
Delete the gsmith user and their home directory, including contents. Delete the gsmith user and their home directory, including contents.