2 .\" chsh.1 -- change your login shell
3 .\" (c) 1994 by salvatore valente <svalente@athena.mit.edu>
5 .\" This program is free software. You can redistribute it and
6 .\" modify it under the terms of the GNU General Public License.
7 .\" There is no warranty.
9 .TH CHSH 1 "July 2014" "util-linux" "User Commands"
11 chsh \- change your login shell
22 is used to change your login shell.
23 If a shell is not given on the command line,
28 supports non-local entries (kerberos, LDAP, etc.\&) if linked with libuser,
29 otherwise use \fBypchsh\fR, \fBlchsh\fR or any other implementation for
33 .BR \-s , " \-\-shell " \fIshell
34 Specify your login shell.
36 .BR \-l , " \-\-list\-shells"
37 Print the list of shells listed in
42 Display help text and exit.
44 .BR \-v , " \-\-version"
45 Display version information and exit.
48 will accept the full pathname of any executable file on the system.
50 The default behavior for non-root users is to accept only shells
53 file, and issue a warning for root user. It can also be configured
54 at compile-time to only issue a warning for all users.
57 Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid.
64 Salvatore Valente <svalente@mit.edu>
66 The chsh command is part of the util-linux package and is available from
67 https://www.kernel.org/pub/linux/utils/util-linux/.