Upload Tizen:Base source
[framework/base/util-linux-ng.git] / login-utils / chsh.1
1 .\"
2 .\"  chsh.1 -- change your login shell
3 .\"  (c) 1994 by salvatore valente <svalente@athena.mit.edu>
4 .\"
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.
8 .\"
9 .\"  $Author: faith $
10 .\"  $Revision: 1.1 $
11 .\"  $Date: 1995/03/12 01:28:58 $
12 .\"
13 .TH CHSH 1 "7 October 1998" "chsh" "Linux Reference Manual"
14 .SH NAME
15 chsh \- change your login shell
16 .SH SYNOPSIS
17 .B chsh
18 .RB [ \-s
19 .IR shell ]
20 .RB [ \-l ]
21 .RB [ \-u ]
22 .RB [ \-v ]
23 .RI [ username ]
24 .SH DESCRIPTION
25 .B chsh
26 is used to change your login shell.
27 If a shell is not given on the command line,
28 .B chsh
29 prompts for one.
30 .SS VALID SHELLS
31 .B chsh
32 will accept the full pathname of any executable file on the system.
33 However, it will issue a warning if the shell is not listed in the
34 .I /etc/shells
35 file.
36 On the other hand, it can also be configured such that it will
37 only accept shells listed in this file, unless you are root.
38 .SH OPTIONS
39 .TP
40 .BI "\-s, \-\-shell " shell
41 Specify your login shell.
42 .TP
43 .B "\-l, \-\-list-shells"
44 Print the list of shells listed in
45 .I /etc/shells
46 and exit.
47 .TP
48 .B "\-u, \-\-help"
49 Print a usage message and exit.
50 .TP
51 .B "-v, \-\-version"
52 Print version information and exit.
53 .SH "SEE ALSO"
54 .BR login (1),
55 .BR passwd (5),
56 .BR shells (5)
57 .SH AUTHOR
58 Salvatore Valente <svalente@mit.edu>
59 .SH AVAILABILITY
60 The chsh command is part of the util-linux-ng package and is available from
61 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.