⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 passwd.5

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 5
字号:
.\" SCCSID: @(#)passwd.5	8.1	9/11/90.TH passwd 5 .SH Namepasswd \- password file.SH Description.NXR "passwd file (general)" "format".NXAM "passwd command" "passwd file (general)"The.PN passwdfile is an ASCII file that contains the following informationfor each user:.sp.RSLogin name.brPassword field.brUser ID.brGroup ID.brUser's real name, office, extension, home phone.brInitial working directory.brProgram to use as Shell.RE.PPEach line in the.PN passwdfile represents a user entry.Each field within a user entryis separated from the next by a colon.Each user entry is separated from the next by a new line.If the password field is null, no password is demanded;if the Shell field is null, then .PN /bin/shis used..PPThis file resides in directory .PN /etc .Because the password, if present, is encrypted, the.PN passwdfile has general readpermission and can be used, for example,to map user IDs to names..PPThe ``user's real name'' can contain an ampersand (&), meaning insert the login name.  This information is set by the.MS chfn 1command and used by the .MS finger 1 command..PPAppropriate precautions must be taken to lock the file against changesif it is to be edited with a text editor.The.PN vipwcommand does the necessary locking..PPIf the system is running UPGRADE security level and an asterisk appears in the password field, or if the system is running ENHANCED level, then the content of the password field is ignored and the password for the accountis located in the authentication database. See.MS auth 5and the.I "Security Guide for Administrators"for more information..PPThe files .PN /etc/passwd.dir and .PN /etc/passwd.pag , if they exist, containthe hashed version of the .PN /etc/passwd file.  If present, they are used by the .PN getpwnamand .PN getpwuid functions to retrieve entries rapidly.  See .MS mkpasswd 8 for more information..PPThe .PN passwddatabase can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod.  See the.I Guide to the Yellow Pages Serviceor the .I Guide to the BIND/Hesiod Servicefor setup information..SH RestrictionsThe ``name'' can contain only lowercase ASCII characters a to z and the numbers 0 to 9..SH Files.PN /etc/passwd.br.PN /etc/passwd.dir .br.PN /etc/passwd.pag.SH See Alsochfn(1), finger(1), login(1), passwd(1), crypt(3), getpwent(3),auth(5), group(5), adduser(8), mkpasswd(8), vipw(8) .br.I "Guide to the BIND/Hesiod Service".br.I "Guide to the Yellow Pages Service".br.I "Security Guide for Administrators"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -