mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +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:
parent
5fce57dd12
commit
84733f2e96
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user