Add or change user database information, including login shell and password. Note: it's not possible to change the user's password on Open Directory systems, use
passwd
instead. See also:passwd
. More information: https://man.freebsd.org/cgi/man.cgi?chpass.
su -c chpass
chpass -s {{path/to/shell}}
chpass -s {{path/to/shell}} {{username}}
chpass -l {{location}} -s {{path/to/shell}} {{username}}
chpass -u {{authname}} -s {{path/to/shell}} {{username}}