summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 12:04:29 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 12:04:29 +0000
commit10658cd37c3d9b149867cbb25ed713aa6b32ad0a (patch)
tree4df7f332d267295bdec12003b1939433ce8486c2
parent21307b4a651cbb513711a6a882df0ebdd51589fc (diff)
downloadpw-darwin-10658cd37c3d9b149867cbb25ed713aa6b32ad0a.tar.gz
pw-darwin-10658cd37c3d9b149867cbb25ed713aa6b32ad0a.tar.zst
pw-darwin-10658cd37c3d9b149867cbb25ed713aa6b32ad0a.zip
Add an example for the -s flag
MFC after: 2 weeks
-rw-r--r--chpass/chpass.16
1 files changed, 6 insertions, 0 deletions
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index ccccd2e..0e792df 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -455,6 +455,12 @@ temporary copy of the password file
.It Pa /etc/shells
the list of approved shells
.El
+.Sh EXAMPLES
+Change the shell of the current user to
+.Ql /usr/local/bin/zsh :
+.Bd -literal -offset indent
+chsh -s /usr/local/bin/zsh
+.Ed
.Sh SEE ALSO
.Xr finger 1 ,
.Xr login 1 ,