* man/*.xml: Add author based on copyright statement.

* man/<ll>/*.[1358], man/<ll>/man[1358]/*.[1358],
	man/<ll>/Makefile.am: Sort manpages per section as the generated
	manpages.
This commit is contained in:
nekral-guest
2012-05-25 11:45:21 +00:00
parent cdd3ebfcf1
commit 042d6c48b3
179 changed files with 880 additions and 123 deletions

69
man/zh_TW/man8/chpasswd.8 Normal file
View File

@@ -0,0 +1,69 @@
.\" Copyright 1991, Julianne Frances Haugh
.\" All rights reserved.
.\"; 中文版版權所有 soloman, Laser www.linuxforum.net 2000
.\"
.\" 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.
.\"
.TH CHPASSWD 8
.SH NAME
chpasswd \- 成批更新使用者的口令
.SH 總覽
chpasswd [\-e]
.SH 描述
.B chpasswd
從系統的標準輸入讀入使用者的名稱和口令,
並利用這些信息來更新系統上已存在的使用者的口令。
在沒有用 \-e 這個開關選項的情況下,口令將按明文的形式接收。
如果使用了 \-e 選項,口令將只能以加密的方式傳遞。
每行的具體格式如下所示:
.sp 1
\fI使用者名\fR\fI新口令\fR
.sp 1
使用者名必須是系統上已存在的使用者。
輸入的密碼在必要時進行加密處理,
如果口令檔案具有時間特性,則同時更新。
.PP
此命令適用於大型的系統,在此類系統中,
使用者一般都是一次同時生成的,而用 adduser 和
passwd 口令來對其一一進行設置一般說往往比較慢。
.SH 注意事項
.\" The \fBmkpasswd\fR command must be executed afterwards to update the
.\" DBM password files.
.\" This command may be discarded in favor of the newusers(8) command.
因為可以使用檔案重定向進行輸入,
chpasswd &lt; user&amp;passwd-filename
如果輸入檔案是按非加密方式傳遞的話,請對該檔案進行適當的加密。
.SH 又見
passwd(1),useradd(8),newuser(8)
.SH 作者
Julianne Frances Haugh (jfh@bga.com)
.SH "[中文版維護人]"
.B 所羅門 <solomen@email.com.cn>
.SH "[中文版最新更新]"
2000/11/26
.SH "[中國 Linux 論壇 man 手冊頁翻譯計劃]"
.BI http://cmpp.linuxforum.net

88
man/zh_TW/man8/groupadd.8 Normal file
View File

@@ -0,0 +1,88 @@
.\" $Id$
.\" Copyright 1991, 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.
.TH GROUPADD 8
.SH 名稱
groupadd \- 建 立 新 群 組
.SH 語法
\fBgroupadd\fR [\fB\-g\fR \fIgid\fR [\fB\-o\fR]] [\fB\-f\fR] \fIgroup\fR
.SH 描述
\fBgroupadd\fR
可 指 定 群 組 名 稱 來 建 立 新 的 群 組 帳 號 。
需 要 時 可 從 系 統 中 取 得 新 群 組 值 。
\fBgroupadd\fR 有 下 列 選 項 可 用 。
.IP \fB\-f\fR
This is \fIforce\fR flag.
新 增 一 個 已 經 存 在 的 群 組 帳 號 系 統 會 出
現 錯 誤 訊 息 然 後 結 束 \fBgroupadd\fR
如 果 是 這 樣 的 情 況 不 會 新 增 這 個 群 組
( 如 果 是 這 個 情 況 下 系 統 不 會 再 新 增 一 次 )
.br
也 可 同 時 加 上 \fB\-g\fR 選 項
當 你 加 上 一 個 \fIgid\fR 此 時 \fIgid\fR
就 不 用 是 唯 一 值 可 不 加 \fB\-o\fR 參 數
建 好 群 組 後 會 顯 結 果
(adding a group as neither \fB\-g\fR or \fB\-o\fR options were
specified).
.IP "\fB\-g \fIgid\fR"
group's ID 值 。
除 非 使 用 \fB\-o\fR 參 數 不 然 該 值 必 須 是 唯 一 不 可 相 同 。
數 值 不 可 為 負 。
預 設 為 最 小 不 得 小 於 500 而 逐 次 增 加 。 0~999 傳 統 上
是 保 留 給 \fI系統帳號\fR 使 用 。
.IP \fB\-r\fR
此 參 數 是 用 來 建 立 \fI系統帳號\fR
的 UID 會 比 定 義 在 系 統 檔 上 /etc/login.defs.
的 UID_MIN 來 的 小 。 注 意 useradd 此 用 法 所 建
立 的 帳 號 不 會 建 立 使 用 者 目 錄 也 不 會
在 乎 紀 錄 在 /etc/login.defs. 的 定 義 值 。 如
果 你 想 要 有 使 用 者 目 錄 須 額 外 指 定 \-m 參
數 來 建 立 系 統 帳 號 。 這 是 RED HAT 額 外 增
設 的 選 項 。
它 會 自 動 幫 你 選 定 一 個 小 於 999 的 \fIgif\fR
不 需 要 再 加 上 \fB\-g\fR 參 數 。
.br
這 是 RED HAT 額 外 增 設 的 選 項 。
.br
這 是 RED HAT 額 外 增 設 的 選 項 。
.SH 檔案
\fI/etc/group\fR \- 群 組 資 訊
.br
\fI/etc/gshadow\fR \- 群 組 資 訊 加 密
.SH 相關文件
.BR chfn (1),
.BR chsh (1),
.BR useradd (8),
.BR userdel (8),
.BR usermod (8),
.BR passwd (1),
.BR groupdel (8),
.BR groupmod (8)
.SH 作者
Julianne Frances Haugh (jfh@tab.com)

55
man/zh_TW/man8/groupdel.8 Normal file
View File

@@ -0,0 +1,55 @@
.\" $Id$
.\" Copyright 1991 - 1993, 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.
.TH GROUPDEL 8
.SH 名稱
groupdel \- 刪除群組
.SH 語法
.B groupdel
.I group
.SH 描述
\fBgroupdel\fR 命令會修改系統帳號檔,會刪除所有已經存在的\fIgroup\fR.
群組名須存在。
.PP
你須手動確認一下所有的檔案系統確保有沒有檔案還是沒修正群組名變成群組ID。
.SH 警告
如果有任何一個群組的使用者在線上的話就不能移除該群組。
最好先移除使用者後再移除群組。
.SH 檔案
\fI/etc/group\fR \- 群組資訊
\fI/etc/gshadow\fR \- 群組資訊加密
.SH 相關文件
.BR chfn (1),
.BR chsh (1),
.BR useradd (8),
.BR userdel (8),
.BR usermod (8),
.BR passwd (1),
.BR groupadd (8),
.BR groupmod (8)
.SH 作者
Julianne Frances Haugh (jfh@tab.com)

63
man/zh_TW/man8/groupmod.8 Normal file
View File

@@ -0,0 +1,63 @@
.\" $Id$
.\" Copyright 1991, 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.
.TH GROUPMOD 8
.SH 名稱
groupmod \- 修 改 群 組
.SH 語法
\fBgroupmod\fR [\fB\-g\fR \fIgid \fR[\fB\-o\fR]] [\fB\-n\fR \fIgroup_name \fR] \fIgroup\fR
.SH 描述
\fBgroupmod\fR 命 令 會 參 照 你 命 令 列 上 指 定 的 部 份
修 改 系 統 帳 號 檔 。 下 列 為 \fIgroupmod\fR 可 選 用 的 參 數 。
.IP "\fB\-g\fR \fIgid\fR"
群 組 I D 值 。
必 須 為 唯 一 的 ID 值 除 非 用 \-o 選 項 。
數 字 不 可 為 負 值。預 設 為 最
小 不 得 小 於 999 而 逐 次 增 加 。 0~ 499 傳 統 上
是 保 留 給 系 統 帳 號 使 用 。
如 果 有 檔 案 使 用 舊 的 群 組 ID 而 這 時 候 你 新 增 的 群 組 ID
恰 好 與 舊 的 相 同 這 樣 的 話
你 要 手 動 改 一 下 這 些 檔 案 的 群 組 ID 。
.IP "\fB\-n\fR \fIgroup_name\fR"
更 改 群 組 名 。
.SH 檔案
\fI/etc/group\fR \- 群 組 資 訊
.br
\fI/etc/gshadow\fR \- 群 組 資 訊 加 密
.SH 相關文件
.BR chfn (1),
.BR chsh (1),
.BR useradd (8),
.BR userdel (8),
.BR usermod (8),
.BR passwd (1),
.BR groupadd (8),
.BR groupdel (8)
.SH 作者
Julianne Frances Haugh (jfh@tab.com)

184
man/zh_TW/man8/useradd.8 Normal file
View File

@@ -0,0 +1,184 @@
.\" $Id$
.\" Copyright 1991 \- 1994, 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.
.TH USERADD 8
.SH
useradd \- 帳 號 建 立 或 更 新 新 使 用 者 的 資 訊
.SH
.TP 8
.B useradd
.\" .RB [ \-A
.\" .RI { method | \fBDEFAULT\fR "},... ]"
.RB [ \-c
.IR comment ]
.RB [ \-d
.IR home_dir ]
.br
.RB [ \-e
.IR expire_date ]
.RB [ \-f
.IR inactive_time ]
.br
.RB [ \-g
.IR initial_group ]
.RB [ \-G
.IR group [,...]]
.br
.RB [ \-m " [" \-k
.IR skeleton_dir ] " |" " " \-M ]
.RB [ \-s
.IR shell ]
.br
.RB [ \-u
.IR uid " ["
.BR \-o ]]
.RB [ \-n ]
.RB [ \-r ]
.I login
.TP 8
\fBuseradd\fR \fB\-D\fR [\fB\-g\fR \fIdefault_group\fR] [\fB\-b\fR \fIdefault_home\fR]
.br
[\fB\-f\fR \fIdefault_inactive\fR] [\fB\-e\fR \fIdefault_expire_date\fR]
.br
[\fB\-s\fR \fIdefault_shell\fR]
.SH
.SS
當 不 加 \fB\-D\fR 參 數 , \fBuseradd\fR 指 令 使 用 命 令 列 來 指 定
新 帳 號 的 設 定 值 and 使 用 系 統 上 的 預 設 值 .
新 使 用 者 帳 號 將 產 生 一 些 系 統 檔 案 使 用 者 目 錄 建 立
拷 備 起 始 檔 案 等
這 些 均 可 以 利 用 命 令列 選 項 指 定 。 此 版 本 為 Red Hat Linux 提 供
可 幫 每 個 新 加 入 的 使 用 者 建 立 個 別 的 group , 毋 須 添 加 \fB\-n\fR
選 項 。
\fBuseradd\fR 可 使 用 的 選 項 為
.IP "\fB\-c\fR \fIcomment\fR"
新 帳 號 password 檔 的 說 明 欄 。
.IP "\fB\-d\fR \fIhome_dir\fR"
新 帳 號 每 次 登 入 時 所 使 用 的 \fIhome_dir\fR
預 設 值 為 \fIdefault_home\fR\fIlogin\fR 名 稱 並 當 成 登 入 時 目 錄
名 稱 。
.IP "\fB\-e\fR \fIexpire_date\fR"
帳 號 終 止 日 期 。 日 期 的 指 定 格 式 為 \fIMM/DD/YY\fR
.IP "\fB\-f\fR \fIinactive_days\fR"
帳 號 過 期 幾 日 後 永 久 停 權 。
當 值 為 0 時 帳 號 則 立 刻 被 停 權 。
而 當 值 為 \-1 時 則 關 閉 此 功\ 預 設 值 為 \-1
.IP "\fB\-g\fR \fIinitial_group\fR"
group 名 稱 或 以 數 字 來 做 為 使 用 者 登 入 起 始 群 組 (group) 。
群 組 名 須 為 現 有 存 在 的 名 稱 。
群 組 數 字 也 須 為 現 有 存 在 的 群 組 。
預 設 的 群 組 數 字 為 1 。
.IP "\fB\-G\fR \fIgroup,[...]\fR"
定 義 此 使 用 者 為 此 一 堆 groups 的 成 員 。
每 個 群 組 使 用 "," 區 格 開 來 不 可 以 夾 雜 空 白 字 元 。
群 組 名 同 \fB\-g\fR 選 項 的 限 制 。
定 義 值 為 使用 者 的 起 始 群 組 。
.IP \fB\-m\fR
使 用 者 目 錄 如 不 存 在 則 自 動 建 立 。
如 使 用 \fB\-k\fR 選 項 \fIskeleton_dir\fR 內 的 檔 案 將 複 製 至 使 用 者 目
錄 下 。
然 而 在 \fI/etc/skel\fR 目 錄 下 的 檔 案 也 會 複 製 過 去 取 代 。
任 何 在 \fIskeleton_dir\fR or \fI/etc/skel\fR 的 目 錄 也 相 同 會 在 使 用 者
目 錄 下 一 一 建 立 。
The \fB\-k\fR\fB\-m\fR
不 建 立 目 錄 以 及 不 複 製 任 何 檔 案 為 預 設 值 。
.IP \fB\-M\fR
不 建 立 使 用 者 目 錄 即 使 \fI/etc/login.defs\fR 系 統 檔 設 定 要 建
立 使 用 者 目 錄 。
.IP \fB\-n\fR
預 設 值 使 用 者 群 組 與 使 用 者 名 稱 會 相 同 。 此 選 項 將 取 消 此 預
設 值 。
.IP \fB\-r\fR
此 參 數 是 用 來 建 立 系 統 帳 號 。 系 統 帳 號 的 UID 會 比 定 義 在 系
統 檔 上 \fI/etc/login.defs\fR.
的 UID_MIN 來 的 小 。 注 意 \fBuseradd\fR 此 用 法 所 建 立 的 帳 號 不 會
建 立 使 用 者 目 錄
也 不 會 在 乎 紀 錄 在 \fI/etc/login.defs\fR. 的 定 義 值 。
如 果 你 想 要 有 使 用 者 目 錄 須 額 外 指 定 \fB\-m\fR 參 數 來 建 立 系
統 帳 號 。
這 是 RED HAT 額 外 增 設 的 選 項 。
.IP "\fB\-s\fR \fIshell\fR"
使 用 者 登 入 後 使 用 的 shell 名 稱 。
預 設 為 不 填 寫 這 樣 系 統 會 幫 你 指 定 預 設 的 登 入 shell 。
.IP "\fB\-u\fR \fIuid\fR"
使 用 者 的 ID 值 。 必 須 為 唯 一 的 ID 值 除 非 用 \fI\-o\fR 選 項 。
數 字 不 可 為 負 值。預 設 為 最 小 不 得 小 於 999 而 逐 次 增 加 。
0~ 999 傳 統 上 是 保 留 給 系 統 帳 號 使 用 。
.SS
\fB\-D\fR 選 項 出 現 時 \fBuseradd\fR 秀 出 現 在 的 預 設 值 或 是 藉
命 令 列 的 方 式 更 新 預 設 值 。
可 用 選 項 為
.IP "\fB\-b\fR \fIdefault_home\fR"
定 義 使 用 者 所 屬 目 錄 的 前 一 個 目 錄 。
使 用 者 名 稱 會 附 加 在 \fIdefault_home\fR 後 面
用 來 建 立 新 使 用 者 的 目 錄 。
當 然 使 用 \fB\-d\fI 後 則 此 選 項 無 效 。
.IP "\fB\-e\fR \fIdefault_expire_date\fR"
使 用 者 帳 號 停 止 日 期 。
.IP "\fB\-f\fR \fIdefault_inactive\fR"
帳 號 過 期 幾 日 後 停 權 。
.IP "\fB\-g\fR \fIdefault_group\fR"
新 帳 號 起 始 群 組 名 或 ID 。
群 組 名 須 為 現 有 存 在 的 名 稱 。
群 組 I D 也 須 為 現 有 存 在 的 群 組 。
.IP "\fB\-s\fR \fIdefault_shell\fR"
使 用 者 登 入 後 使 用 的 shell 名 稱 。
往 後 新 加 入 的 帳 號 都 將 使 用 此 shell.
.PP
如 不 指 定 任 何 參 數 \fBuseradd\fR 顯 示 目 前 預 設 的 值 。
.SH
\fI/etc/skel\fR 使
.br
此 版 本 『useradd』 由 Red Hat 修 改 。
.SH
不 可 新 增 使 用 者 於 NIS 群 組 中 。
你 必 須 在 NIS 伺 服 器 上 執 行 。
.SH
\fI/etc/passwd\fR \- 使 用 者 帳 號 資 訊
.br
\fI/etc/shadow\fR \- 使 用 者 帳 號 資 訊 加 密
.br
\fI/etc/group\fR \- 群 組 資 訊
.br
\fI/etc/default/useradd\fR \- 定 義 資 訊
.br
\fI/etc/login.defs\fR \- 系 統 廣 義 設 定
.br
\fI/etc/skel/\fR \- 內 含 定 義 檔 的 目 錄
.SH SEE ALSO
.BR chfn (1),
.BR chsh (1),
.BR groupadd (8),
.BR groupdel (8),
.BR groupmod (8),
.BR passwd (1),
.BR userdel (8),
.BR usermod (8)
.SH AUTHOR
Julianne Frances Haugh (jfh@tab.com)

65
man/zh_TW/man8/userdel.8 Normal file
View File

@@ -0,0 +1,65 @@
.\" $Id$
.\" Copyright 1991 \- 1994, 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.
.TH USERDEL 8
.SH 名稱
userdel \- 刪 除 使 用 者 帳 號 及 相 關 檔 案
.SH 語法
.B userdel
[\fB\-r\fR]
.I login
.SH 描述
\fBuserdel\fR 命 令 修 改 系 統 帳 號 檔
刪 除 所 有 \fIlogin\fR 會 參 考 的 部 份 。
使 用 者 名 稱 必 須是 存 在 的 。
.IP \fB\-r\fR
使 用 者 目 錄 下 的 檔 案 一 並 移 除 。 在 其 他 位 置 上 的 檔
案 也 將 一 一 找 出 並 刪 除 。
.SH 檔案
\fI/etc/passwd\fR \- 使 用 者 帳 號 資 料
.br
\fI/etc/shadow\fR \- 使 用 者 帳 號 資 訊 加 密
.br
\fI/etc/group\fR \- 群 組 資 訊
.SH 警告
\fBuserdel\fR 不 允 許 你 移 除 正 在線 上
的 使 用 者 帳 號 。
你 必 須 砍 掉 此 帳 號 現 在 在 系 統 上 執 行 的 程 序 才 能 進 行 帳 號
刪 除 。
不 能 在 NIS client 端 移 除 NIS 屬 性 的 東 西 。
這 動 做 須 在 NIS server 端 上 執 行 。
.SH SEE ALSO
.BR chfn (1),
.BR chsh (1),
.BR groupadd (8),
.BR groupdel (8),
.BR groupmod (8),
.BR passwd (1),
.BR useradd (8),
.BR usermod (8)
.SH 作者
Julianne Frances Haugh (jfh@tab.com)

129
man/zh_TW/man8/usermod.8 Normal file
View File

@@ -0,0 +1,129 @@
.\" $Id$
.\" Copyright 1991 \- 1994, 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.
.TH USERMOD 8
.SH 名稱
usermod \- 修 改 使 用 者 帳 號
.SH 語法
.TP 8
.B usermod
.\" .RB [ \-A
.\" .RI { method | \fBDEFAULT\fR "},... ]"
.RB [ \-c
.IR comment ]
.RB [ \-d
.IR home_dir " ["
.BR \-m ]]
.br
.RB [ \-e
.IR expire_date ]
.RB [ \-f
.IR inactive_time ]
.br
.RB [ \-g
.IR initial_group ]
.RB [ \-G
.IR group [,...]]
.br
.RB [ \-l
.IR login_name ]
.RB [ \-s
.IR shell ]
.br
.RB [ \-u
.IR uid " ["
.BR \-o ]]
.I login
.SH 描述
\fBusermod\fR 命 令 會 參 照 你 命 令 列 上 指 定 的 部 份 修 改 系 統 帳
號 檔 。 下 列 為 \fBusermod\fR 可 選 用 的 參 數 。
.\" .IP "\fB\-A \fImethod\fR|\fBDEFAULT\fR"
.\" The new value of the user's authentication method.
.\" The authentication method is the name of a program which is responsible
.\" for validating the user's identity.
.\" The string \fBDEFAULT\fR may be used to change the user's authentication
.\" method to the standard system password method.
.IP "\fB\-c\fR \fIcomment\fR"
更 新 使 用 者 帳 號 password 檔 中 的 注 解 欄
一 般 是 使 用 \fBchfn\fR(1) 來 修 改 。
.IP "\fB\-d\fR \fIhome_dir\fR"
更 新 使 用 者 新 的 登 入 目 錄 。
如 果 給 定 \fB\-m\fR 選 項 使 用 者 舊 目 錄 會 搬 到 新 的 目 錄 去
,如 舊 目 錄 不 存 在 則 建 個 新 的 。
.IP "\fB\-e\fR \fIexpire_date\fR"
加 上 使 用 者 帳 號 停 止 日 期 。 日 期 格 式 為 \fIMM/DD/YY\fR.
.IP "\fB\-f\fR \fIinactive_days\fR"
帳 號 過 期 幾 日 後 永 久 停 權。當 值 為 0 時
帳 號 則 立 刻 被 停 權 。 而 當 值 為 \-1 時 則 關閉此功\能
。預 設 值 為 \-1。
.IP "\fB\-g\fR \fIinitial_group\fR"
更 新 使 用 者 新 的 起 始 登 入 群 組 。 群 組 名 須 已 存 在
。群 組 ID 必 須 參 照 既 有 的 的 群 組 。 群 組 ID 預 設 值 為 1 。
.IP "\fB\-G\fR \fIgroup,[...]\fR"
定 義 使 用 者 為 一 堆 groups 的 成 員 。 每
個 群 組 使 用 "," 區 格 開 來 不 可 以 夾 雜 空
白 字 元 。 群 組 名 同 \-g 選 項 的 限 制 。
如 果 使 用 者 現 在 的 群 組 不 再 此 列 則 將 使 用 者 由 該
群 組 中 移 除 。
.IP "\fB\-l\fR \fIlogin_name\fR"
變 更 使 用 者 \fIlogin\fR 時 的 名 稱 為 \fIlogin_name\fR
其 於 不 變 。 特 別 是 使 用 者 目 錄 名 應 該 也 會 跟 著 更 動 成 新
的 登 入 名 。
.IP "\fB\-s\fR \fIshell\fR"
指 定 新 登 入 shell 。 如 此 欄 留 白 系 統 將 選 用 系 統 預 設 shell 。
.IP "\fB\-u\fR \fIuid\fR"
使 用 者 ID 值 。必 須 為 唯 一 的 ID 值 除 非 用 \fI\-o\fR 選 項 。 數
字 不 可 為 負 值。預 設 為 最 小 不 得 小 於 999 而 逐 次
增 加 。 0~ 999 傳 統 上 是 保 留 給 系 統 帳 號 使 用 。
使 用 者 目 錄 樹 下 所 有 的 檔 案 目 錄 其 user ID 會 自 動 改 變 。
放 在 使 用 者 目 錄 外 的 檔 案 則 要 自 行 手 動 更 動 。
.SH 警告
\fBusermod\fR 不 允 許 你 改 變 正 在線 上 的 使 用 者 帳 號 名 稱 。
當 usermod 用 來 改 變 user ID, 必 須 確 認 這 名 user 沒 在 電 腦 上 執
行 任 何 程 序。
你 需 手 動 更 改 使 用 者 的 crontab 檔 。
也 需 手 動 更 改 使 用 者 的 at 工 作 檔 。
採 用 NIS server 須 在 server 上 更 動 相 關 的 NIS 設 定 。
.SH 檔案
\fI/etc/passwd\fR \- 使 用 者 帳 號 資 訊
.br
\fI/etc/shadow\fR \- 使 用 者 帳 號 資 訊 加 密
.br
\fI/etc/group\fR \- 群 組 資 訊
.SH 相關文件
.BR chfn (1),
.BR chsh (1),
.BR groupadd (8),
.BR groupdel (8),
.BR groupmod (8),
.BR passwd (1),
.BR useradd (8),
.BR userdel (8)
.SH 作者
Julianne Frances Haugh (jfh@tab.com)