1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de), Fri Apr 2 11:32:09 MET DST 1993
2 .\" Chinese Version Copyright Scorpio, www.linuxforum.net, 2000
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
24 .\" Modified Sun Jul 25 10:46:28 1993 by Rik Faith (faith@cs.unc.edu)
25 .\" Modified Sun Aug 21 18:12:27 1994 by Rik Faith (faith@cs.unc.edu)
26 .\" Modified Sun Jun 18 01:53:57 1995 by Andries Brouwer (aeb@cwi.nl)
27 .\" Modified Mon Jan 5 20:24:40 MET 1998 by Michael Haardt
28 .\" (michael@cantor.informatik.rwth-aachen.de)
29 .TH PASSWD 5 "January 5, 1998" "" "File formats"
35 給出每個帳戶一些有用的信息,比如使用者 ID,組 ID, 家目錄, shell,等.
37 它通常應該是可讀的(許\多命令,工具程式,像
39 用它做使用者 Id 到使用者名稱的映射),但是只允許\超級使用者有寫方式權限.
41 在過去美好的日子裏,這種一般的讀許\可沒有什麼大問題.
42 每個人都能讀到加密了的密碼,因為硬體太慢以至於不能解開一個
43 精選的密碼,另外,這基本假定是為友好的使用團體使用的.
44 現在,許\多人運行一些版本的影子密碼套件,它們在
51 不管是否使用了影子密碼,許\多系統管理員使用一個星號在加密的密碼字段
52 以確保使用者不能鑒別他(她)自己的密碼. (見下面的注意)
54 如果你建立了一個新的登入,首先放個星號在密碼字段,
59 (密碼檔案)裏每行一條記錄,並且每行有這樣的格式:
62 account:password:UID:GID:GECOS:directory:shell
63 (帳號:密碼:使用者ID:組ID:一般的信息:目錄:shell)
83 這字段是可選的,通常為了存放信息目的而設的.
84 通常,它包含了使用者的全名. GECOS 意思是通用電氣綜合作業系統(General Electric
85 Comprehensive Operating System), 當 GE 的大型系統部分割售賣給 Honeywell
86 時它被改為 GCOS. Dennis Ritchie 作過報告:"有時我們發送印刷品或批道作業到
87 GCOS機器時,gcos 字段打斷了 $IDENT 卡的信息,不太美觀。"(譯者:我想是太長吧)
95 如果設為不存在的執行(程式),使用者不能通過
100 如果你想建立使用者組,他們的 GID 必須相等並且一定是在
101 \fI/etc/group\fP的一條記錄, 要不然組就不存在.
113 或者 mail 過濾器等程式運行已有的進程和開始新的等.
114 試圖通過簡單改變 shell 字段鎖住一個使用者結果是一樣的,
128 .B Scorpio <rawk@chinese.com>
131 .SH "《中國linux論壇man手冊頁翻譯計劃》:"
132 .BI http://cmpp.linuxforum.net