1CHSH(1)                     Linux Reference Manual                     CHSH(1)
2
3
4

NAME

6       chsh - change your login shell
7

SYNOPSIS

9       chsh [-s shell] [-l] [-u] [-v] [username]
10

DESCRIPTION

12       chsh  is  used  to change your login shell.  If a shell is not given on
13       the command line, chsh prompts for one.
14
15   VALID SHELLS
16       chsh will accept the full pathname of any executable file on  the  sys‐
17       tem.   However,  it  will issue a warning if the shell is not listed in
18       the /etc/shells file.  On the other hand, it  can  also  be  configured
19       such  that  it  will only accept shells listed in this file, unless you
20       are root.
21

OPTIONS

23       -s, --shell shell
24              Specify your login shell.
25
26       -l, --list-shells
27              Print the list of shells listed in /etc/shells and exit.
28
29       -u, --help
30              Print a usage message and exit.
31
32       -v, --version
33              Print version information and exit.
34

SEE ALSO

36       login(1), passwd(5), shells(5)
37

AUTHOR

39       Salvatore Valente <svalente@mit.edu>
40

AVAILABILITY

42       The chsh command is part of the util-linux-ng package and is  available
43       from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
44
45
46
47chsh                            7 October 1998                         CHSH(1)
Impressum