OSDN Git Service

[JM:01541] util-linux chsh.1
authorSHIRAKATA Kentaro <argrath@ub32.org>
Tue, 23 Jul 2019 14:54:10 +0000 (23:54 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Tue, 23 Jul 2019 14:54:10 +0000 (23:54 +0900)
manual/util-linux/draft/man1/chsh.1
manual/util-linux/translation_list

index 39369c0..e9cfd3b 100644 (file)
@@ -2,34 +2,33 @@
 .\"  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.
-.\"
-.\"  $Author: ysato $
-.\"  $Revision: 1.3 $
-.\"  $Date: 2001/02/02 10:21:58 $
+.\"  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.
 .\"
 .\" Japanese Version Copyright (c) 2001 Maki KURODA
 .\"  all rights reserved.
 .\" Translated Wed Jan 24 18:46:38 JST 2001
 .\"  by Maki KURODA <mkuroda@mail.tsagrp.co.jp>
+.\" Updated & Modified Sat Jul 20 18:25:03 JST 2019
+.\"         by Yuichi SATO <ysato@ybb.ne.jp>
 .\"
-.TH CHSH 1 "7 October 1998" "chsh" "Linux Reference Manual"
+.TH CHSH 1 "July 2014" "util-linux" "User Commands"
 .\"O .SH NAME
 .SH 名前
 .\"O chsh \- change your login shell
 chsh \- ログインシェルを変更する
 .\"O .SH SYNOPSIS
 .SH 書式
-.\"O .B chsh
-.\"O [\ \-s\ shell\ ] [\ \-l\ ] [\ \-u\ ] [\ \-v\ ] [\ username\ ]
 .B chsh
-[\ \-s\ shell\ ] [\ \-l\ ] [\ \-u\ ] [\ \-v\ ] [\ username\ ]
+.RB [ \-s
+.IR shell ]
+.RB [ \-l ]
+.RB [ \-h ]
+.RB [ \-v ]
+.RI [ username ]
 .\"O .SH DESCRIPTION
 .SH 説明
-.B chsh
-はログインシェルを変更する。
 .\"O .B chsh
 .\"O is used to change your login shell.
 .B chsh
@@ -40,8 +39,39 @@ chsh \- ログインシェルを変更する
 シェルがコマンド行で指定されなかった場合
 .B chsh
 はシェルをたずねてくる。
-.\"O .SS VALID SHELLS
-.SS 有効なシェル
+
+.\"O .B chsh
+.\"O supports non-local entries (kerberos, LDAP, etc.\&) if linked with libuser,
+.\"O otherwise use \fBypchsh\fR, \fBlchsh\fR or any other implementation for
+.\"O non-local entries.
+.B chfn
+は libuser とリンクされていると、ローカルでないエントリ
+(kerberos, LDAP など) をサポートする。
+リンクされていない場合は、\fBypchsh\fR, \fBlchsh\fR
+またはその他のローカルでないエントリの実装を使うこと。
+.\"O .SH OPTIONS
+.SH オプション
+.TP
+.BR \-s , " \-\-shell " \fIshell
+.\"O Specify your login shell.
+ログインシェルを指定する。
+.TP
+.BR \-l , " \-\-list\-shells"
+.\"O Print the list of shells listed in
+.\"O .I /etc/shells
+.\"O and exit.
+.I /etc/shells
+に記載されているシェルの一覧を出力し、終了する。
+.TP
+.BR \-h , " \-\-help"
+.\"O Display help text and exit.
+ヘルプを表示して、終了する。
+.TP
+.BR \-v , " \-\-version"
+.\"O Display version information and exit.
+バージョン情報を表示して、終了する。
+.\"O .SH "VALID SHELLS"
+.SH 有効なシェル
 .\"O .B chsh
 .\"O will accept the full pathname of any executable file on the system.
 .\"O However, it will issue a warning if the shell is not listed in the
@@ -56,40 +86,24 @@ chsh \- ログインシェルを変更する
 .\"O only accept shells listed in this file, unless you are root.
 一方で、ルートでない限り、このファイルに記載されているシェルだけを
 受け付けるように設定することもできる。
-.\"O .SH OPTIONS
-.\"O .TP
-.\"O .I "\-s, \-\-shell"
-.\"O Specify your login shell.
-.SH オプション
-.TP
-.I "\-s, \-\-shell"
-ログインシェルを指定する。
-.\"O .TP
-.\"O .I "\-l, \-\-list-shells"
-.\"O Print the list of shells listed in
-.\"O .I /etc/shells
-.\"O and exit.
-.TP
-.I "\-l, \-\-list-shells"
-.I /etc/shells
-に記載されているシェルの一覧を出力し、終了する。
-.\"O .TP
-.\"O .I "\-u, \-\-help"
-.\"O Print a usage message and exit.
-.TP
-.I "\-u, \-\-help"
-使用法を出力し、終了する。
-.\"O .TP
-.\"O .I "-v, \-\-version"
-.\O Print version information and exit.
-.TP
-.I "-v, \-\-version"
-バージョン情報を出力し、終了する。
+.\"O .SH "EXIT STATUS"
+.SH 返り値
+.\"O Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid.
+操作が成功した場合、0 を返す。
+操作が失敗した場合、またはコマンド書式が無効な場合、1を返す。
 .\"O .SH "SEE ALSO"
-.SH 関連項目 
+.SH 関連項目
 .BR login (1),
+.BR login.defs (5),
 .BR passwd (5),
 .BR shells (5)
 .\"O .SH AUTHOR
 .SH 著者
 Salvatore Valente <svalente@mit.edu>
+.\"O .SH AVAILABILITY
+.SH 入手方法
+.\"O The chsh command is part of the util-linux package and is available from
+.\"O https://www.kernel.org/pub/linux/utils/util-linux/.
+chsh コマンドは、util-linux パッケージの一部であり、
+https://www.kernel.org/pub/linux/utils/util-linux/
+から入手できる。
index 4f4f0c8..7aaad55 100644 (file)
@@ -2,7 +2,7 @@
 ◆:util-linux:2.12r=>2.34:0000/00/00:chfn:1:2019/07/20::ysato444@ybb.ne.jp:SATO Yuichi:
 ×:util-linux:2.34:0000/00/00:choom:1:::::
 ×:util-linux:2.34:0000/00/00:chrt:1:::::
\98\86:util-linux:2.12r=>2.34:0000/00/00:chsh:1:2001/02/02::mkuroda@mail.tsagrp.co.jp:Maki KURODA:
\97\86:util-linux:2.12r=>2.34:0000/00/00:chsh:1:2019/07/20::ysato444@ybb.ne.jp:SATO Yuichi:
 ☆:util-linux:2.12r=>2.34:0000/00/00:col:1:2001/02/11::sato@complex.eng.hokudai.ac.jp:Yuichi SATO:
 c:util-linux:2.12r=>2.34:0000/00/00:colcrt:1:1997/03/27::man-jp@jp.FreeBSD.org:FreeBSD jpman project:http://www.jp.freebsd.org/man-jp/
 ☆:util-linux:2.12r=>2.34:0000/00/00:colrm:1:2005/06/05::argrath@ub32.org:Kentaro Shirakata:http://www.jp.freebsd.org/man-jp/