]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
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 | .\" | |
726f69e2 KZ |
9 | .\" $Author: faith $ |
10 | .\" $Revision: 1.1 $ | |
11 | .\" $Date: 1995/03/12 01:28:58 $ | |
6dbe3af9 | 12 | .\" |
5c36a0eb | 13 | .TH CHSH 1 "7 October 1998" "chsh" "Linux Reference Manual" |
6dbe3af9 KZ |
14 | .SH NAME |
15 | chsh \- change your login shell | |
16 | .SH SYNOPSIS | |
17 | .B chsh | |
2054a2b0 PB |
18 | .RB [ \-s |
19 | .IR shell ] | |
20 | .RB [ \-l ] | |
21 | .RB [ \-u ] | |
22 | .RB [ \-v ] | |
23 | .RI [ username ] | |
6dbe3af9 KZ |
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. | |
5c36a0eb KZ |
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. | |
6dbe3af9 KZ |
38 | .SH OPTIONS |
39 | .TP | |
2054a2b0 | 40 | .BI "\-s, \-\-shell " shell |
6dbe3af9 KZ |
41 | Specify your login shell. |
42 | .TP | |
2054a2b0 | 43 | .B "\-l, \-\-list-shells" |
6dbe3af9 KZ |
44 | Print the list of shells listed in |
45 | .I /etc/shells | |
46 | and exit. | |
47 | .TP | |
2054a2b0 | 48 | .B "\-u, \-\-help" |
6dbe3af9 KZ |
49 | Print a usage message and exit. |
50 | .TP | |
2054a2b0 | 51 | .B "-v, \-\-version" |
6dbe3af9 KZ |
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> | |
86d62711 KZ |
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/. |