2007-10-07 17:17:11 +05:30
|
|
|
.\" $Id: userdel.8,v 1.4 2005/12/01 20:38:29 kloczek Exp $
|
2007-10-07 17:16:07 +05:30
|
|
|
.\" Copyright 1991 \- 1994, Julianne Frances Haugh
|
2007-10-07 17:15:23 +05:30
|
|
|
.\" 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
|
2007-10-07 17:17:11 +05:30
|
|
|
.SH 名稱
|
|
|
|
userdel \- 刪 除 使 用 者 帳 號 及 相 關 檔 案
|
|
|
|
.SH 語法
|
2007-10-07 17:15:23 +05:30
|
|
|
.B userdel
|
2007-10-07 17:16:07 +05:30
|
|
|
[\fB\-r\fR]
|
2007-10-07 17:15:23 +05:30
|
|
|
.I login
|
2007-10-07 17:17:11 +05:30
|
|
|
.SH 描述
|
|
|
|
\fBuserdel\fR 命 令 修 改 系 統 帳 號 檔
|
|
|
|
刪 除 所 有 \fIlogin\fR 會 參 考 的 部 份 。
|
|
|
|
使 用 者 名 稱 必 須是 存 在 的 。
|
2007-10-07 17:16:07 +05:30
|
|
|
.IP \fB\-r\fR
|
2007-10-07 17:17:11 +05:30
|
|
|
使 用 者 目 錄 下 的 檔 案 一 並 移 除 。 在 其 他 位 置 上 的 檔
|
|
|
|
案 也 將 一 一 找 出 並 刪 除 。
|
|
|
|
.SH 檔案
|
|
|
|
\fI/etc/passwd\fR \- 使 用 者 帳 號 資 料
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fI/etc/shadow\fR \- 使 用 者 帳 號 資 訊 加 密
|
2007-10-07 17:15:23 +05:30
|
|
|
.br
|
2007-10-07 17:17:11 +05:30
|
|
|
\fI/etc/group\fR \- 群 組 資 訊
|
|
|
|
.SH 警告
|
|
|
|
\fBuserdel\fR 不 允 許 你 移 除 正 在線 上
|
|
|
|
的 使 用 者 帳 號 。
|
|
|
|
你 必 須 砍 掉 此 帳 號 現 在 在 系 統 上 執 行 的 程 序 才 能 進 行 帳 號
|
|
|
|
刪 除 。
|
|
|
|
不 能 在 NIS client 端 移 除 NIS 屬 性 的 東 西 。
|
|
|
|
這 動 做 須 在 NIS server 端 上 執 行 。
|
2007-10-07 17:15:23 +05:30
|
|
|
.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)
|
2007-10-07 17:17:11 +05:30
|
|
|
.SH 作者
|
2007-10-07 17:15:23 +05:30
|
|
|
Julianne Frances Haugh (jfh@tab.com)
|