OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / util-linux / original / man1 / 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 [\ \-s\ shell\ ] [\ \-l\ ] [\ \-u\ ] [\ \-v\ ] [\ username\ ]
19 .SH DESCRIPTION
20 .B chsh
21 is used to change your login shell.
22 If a shell is not given on the command line,
23 .B chsh
24 prompts for one.
25 .SS VALID SHELLS
26 .B chsh
27 will accept the full pathname of any executable file on the system.
28 However, it will issue a warning if the shell is not listed in the
29 .I /etc/shells
30 file.
31 On the other hand, it can also be configured such that it will
32 only accept shells listed in this file, unless you are root.
33 .SH OPTIONS
34 .TP
35 .I "\-s, \-\-shell"
36 Specify your login shell.
37 .TP
38 .I "\-l, \-\-list-shells"
39 Print the list of shells listed in
40 .I /etc/shells
41 and exit.
42 .TP
43 .I "\-u, \-\-help"
44 Print a usage message and exit.
45 .TP
46 .I "-v, \-\-version"
47 Print version information and exit.
48 .SH "SEE ALSO"
49 .BR login (1),
50 .BR passwd (5),
51 .BR shells (5)
52 .SH AUTHOR
53 Salvatore Valente <svalente@mit.edu>