chsh(1)
NAME
chsh − change default login shell
SYNOPSIS
chsh name [shell]
DESCRIPTION
chsh is a command similar to passwd, but is used to change the login shell field of the password file rather than the password entry (see passwd(1)). shell, if given, must be an absolute path name. If the file /etc/shells exists, the new login shell must be listed in that file. Otherwise one of the shells listed in the getusershell(3C) manual entry can be specified as the shell. If no shell is specified, the shell reverts to the default login shell /bin/sh.
NETWORKING FEATURES
NFS
File /etc/passwd can be implemented as a Network Information Service database. chsh can change /etc/passwd on the local system only.
AUTHOR
chsh was developed by HP and the University of California, Berkeley.
FILES
/etc/shells
SEE ALSO
csh(1), ksh(1), pam(1), passwd(1), sh(1), getusershell(3C), passwd(4), shells(4).
Hewlett-Packard Company — HP-UX Release 9.0: August 1992