]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - login-utils/chsh.1
scriptreplay: cleanup usage()
[thirdparty/util-linux.git] / login-utils / chsh.1
index 5ee0f09c3da8b8e45954abcda244e6d7a42889b8..c955b05d89a14336a6c01ef1a577dc4a0b7c88b5 100644 (file)
@@ -2,15 +2,11 @@
 .\"  chsh.1 -- change your login shell
 .\"  (c) 1994 by salvatore valente <svalente@athena.mit.edu>
 .\"
-.\"  this program is free software.  you can redistribute it and
-.\"  modify it under the terms of the gnu general public license.
-.\"  there is no warranty.
+.\"  This program is free software.  You can redistribute it and
+.\"  modify it under the terms of the GNU General Public License.
+.\"  There is no warranty.
 .\"
-.\"  $Author: faith $
-.\"  $Revision: 1.1 $
-.\"  $Date: 1995/03/12 01:28:58 $
-.\"
-.TH CHSH 1 "July 2009" "util-linux" "User Commands"
+.TH CHSH 1 "July 2014" "util-linux" "User Commands"
 .SH NAME
 chsh \- change your login shell
 .SH SYNOPSIS
@@ -18,7 +14,7 @@ chsh \- change your login shell
 .RB [ \-s
 .IR shell ]
 .RB [ \-l ]
-.RB [ \-u ]
+.RB [ \-h ]
 .RB [ \-v ]
 .RI [ username ]
 .SH DESCRIPTION
@@ -29,23 +25,23 @@ If a shell is not given on the command line,
 prompts for one.
 
 .B chsh
-supports non-local entries (kerberos, LDAP, etc.) if linked with libuser,
-otherwise use ypchsh, lchsh or any other implementation for non-local
-entries.
+supports non-local entries (kerberos, LDAP, etc.\&) if linked with libuser,
+otherwise use \fBypchsh\fR, \fBlchsh\fR or any other implementation for
+non-local entries.
 .SH OPTIONS
 .TP
-.BI "\-s, \-\-shell " shell
+.BR \-s , " \-\-shell " \fIshell
 Specify your login shell.
 .TP
-.B "\-l, \-\-list-shells"
+.BR \-l , " \-\-list\-shells"
 Print the list of shells listed in
 .I /etc/shells
 and exit.
 .TP
-.B "\-u, \-\-help"
+.BR \-h , " \-\-help"
 Display help text and exit.
 .TP
-.B "-v, \-\-version"
+.BR \-v , " \-\-version"
 Display version information and exit.
 .SH "VALID SHELLS"
 .B chsh
@@ -59,10 +55,11 @@ only accept shells listed in this file, unless you are root.
 Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid.
 .SH "SEE ALSO"
 .BR login (1),
+.BR login.defs (5),
 .BR passwd (5),
 .BR shells (5)
 .SH AUTHOR
 Salvatore Valente <svalente@mit.edu>
 .SH AVAILABILITY
 The chsh command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
+https://www.kernel.org/pub/linux/utils/util-linux/.