From 10658cd37c3d9b149867cbb25ed713aa6b32ad0a Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 17 Nov 2020 12:04:29 +0000 Subject: Add an example for the -s flag MFC after: 2 weeks --- chpass/chpass.1 | 6 ++++++ 1 file changed, 6 insertions(+) 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 , -- cgit v1.2.3-56-ge451