📄 group.5yp
字号:
.\" SCCSID: @(#)group.5yp 8.1 9/11/90.TH group 5yp.SH Namegroup \- group file in a Yellow Pages environment.SH Description.NXR "group file (YP)"For each group, the.PN groupfile contains:.HP 10Group name.br.ns.HP 10Encrypted password.br.ns.HP 10Numerical group ID.br.ns.HP 10Comma-separated list of all users allowed in the group.PPThis is an ASCII file.The fields are separatedby colons.Each group is separated from the next by a new-line.If the password field is null, no password is needed..PPThis file resides in the .PN /etc directory.Because of the encryptedpasswords, it can and does have general readpermission and can be used, for example,to map numerical group ID's to names..PPA group file can have a line beginning with a plus (+),which means to incorporate entries from the Yellow Pages.There are two styles of + entries:All by itself, + means to insert the entire contentsof the Yellow Pages group file at that point;.I +namemeans to insert the entry (if any) for.I namefrom the Yellow Pages at that point.If a + entry has a password or group member field that is not null,the contents of that field will overridewhat is contained in the Yellow Pages.The numerical group ID field cannot be overridden..SH Examples.EX+myproject:::bill, steve+:.EE.PPIf these entries appear at the end of a group file, then the group.I myprojectwill have members.IR "bill " and " steve" ,and the password and group ID of the Yellow Pages entry for the group.I myproject.All the groups listed in the Yellow Pageswill be pulled in and placed after the entry for.I myproject..SH RestrictionsThe .MS passwd 1command will not change group passwords..SH Files.TP 20.PN /etc/groupULTRIX file system group file.TP 25.PN /etc/yp/{domain}/groupYellow Pages group map.SH See Alsoyppasswd(1yp), setgroups(2), crypt(3), initgroups(3x), passwd(5yp)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -