summaryrefslogtreecommitdiff
path: root/man/ja/man1/chsh.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/ja/man1/chsh.1')
-rw-r--r--man/ja/man1/chsh.172
1 files changed, 72 insertions, 0 deletions
diff --git a/man/ja/man1/chsh.1 b/man/ja/man1/chsh.1
new file mode 100644
index 00000000..07e21980
--- /dev/null
+++ b/man/ja/man1/chsh.1
@@ -0,0 +1,72 @@
+.\"$Id: chsh.1 3742 2012-05-25 11:45:21Z nekral-guest $
+.\" Copyright 1990, Julianne Frances Haugh
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
+.\" all rights reserved.
+.\" Translated Fri Feb 14 23:06:00 JST 1997
+.\" by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
+.\" Modified Tue 16 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
+.\"
+.TH CHSH 1
+.SH 名前
+chsh \- ログインシェルを変更する
+.SH 書式
+.TP 5
+\fBchsh\fR
+[\fB\-s\fR \fIlogin_shell\fR] [\fIuser\fR]
+.SH 説明
+\fBchsh\fR はユーザのログインシェルを変更する。
+これによって、ユーザがログインして最初に実行されるコマンドが決まる。
+一般ユーザは自分のアカウントのログインシェルのみを変更できる。
+スーパーユーザは全てのアカウントのログインシェルを変更できる。
+.PP
+ログインシェルは、
+コマンド名が \fI/etc/shells\fR に記載されていればなんでも良い。
+スーパーユーザの場合はこの制限はなく、いかなる値でも指定できる。
+機能を制限されたログインシェルを用いているアカウントからは、
+ログインシェルを変更できないかもしれない。
+この理由から、
+\fB/bin/rsh\fR は \fI/etc/shells\fR には書かないほうが良い。
+誤って機能が制限されたシェルに変更してしまうと、
+ログインシェルを元のものに戻せなくなってしまうからである。
+.PP
+\fB\-s\fR オプションを指定しなかった場合は、
+\fBchsh\fR は対話的に動作する。
+ユーザの現在のログインシェルを表示し、新しい値の入力を促す。
+設定値を変更するなら新しい値を入力し、
+現在の値を使うなら空行のままリターンキーを押せばよい。
+現在のシェルは \fB[ ]\fR 記号の間に表示される。
+.SH ファイル
+\fI/etc/passwd\fR \- ユーザアカウント情報
+.br
+\fI/etc/shells\fR \- 指定できるログインシェルのリスト
+.SH 関連項目
+.BR chfn (1),
+.BR passwd (5)
+.SH 著者
+Julianne Frances Haugh <jockgrrl@ix.netcom.com>