1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

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.
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
pw useradd -n gsmith -c "Glurmo Smith" -s csh -m -w random
.Ed
.Pp
Delete the gsmith user and their home directory, including contents.