X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/21307b4a651cbb513711a6a882df0ebdd51589fc..HEAD:/chpass/chpass.1 diff --git a/chpass/chpass.1 b/chpass/chpass.1 index ccccd2e..607f2c8 100644 --- a/chpass/chpass.1 +++ b/chpass/chpass.1 @@ -28,7 +28,7 @@ .\" @(#)chpass.1 8.2 (Berkeley) 12/30/93 .\" $FreeBSD$ .\" -.Dd November 17, 2020 +.Dd May 25, 2021 .Dt CHPASS 1 .Os .Sh NAME @@ -40,7 +40,13 @@ .Nm ypchsh .Nd add or change user database information .Sh SYNOPSIS -.Nm +.Nm chpass +.Op Fl a Ar list +.Op Fl e Ar expiretime +.Op Fl p Ar encpass +.Op Fl s Ar newshell +.Op user +.Nm ypchpass .Op Fl loy .Op Fl a Ar list .Op Fl d Ar domain @@ -450,11 +456,17 @@ operates on NIS entries by default if NIS is enabled. the user database .It Pa /etc/passwd a Version 7 format password file -.It Pa /etc/chpass.XXXXXX -temporary copy of the password file +.It Pa /etc/pw.XXXXXX +temporary 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 ,