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

📄 edauth.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)edauth.8	6.2	8/30/89.TH edauth 8.SH Nameedauth \- edit user auth entry.SH Syntax.B edauth.IR username.SH Description.NXR "edauth editor".NXR "auth entry" "editing".NXA "adduser command" "edauth editor"The.PN edauthcommand is an authorization editor..PN edauthcreates a temporary file with an ASCII representation of the current.PN auth database entry for the user specified by.I usernameand then invokesan editor on the file.  You can then modify the user's .PN auth fields.Upon leaving the editor,.PN edauthreads the temporary file and modifies the binarydatabase to reflect the changes made.If there are errors in the temporary file.PN edauthwill allow the user to resume editing the file to fix them..PPThe editor invoked is .MS ed 1 ,unless the environment variable EDITOR specifies otherwise.Here is an example of the temporary file produced by .PN edauth :.EXuid = 268password = MXP3BnKLEWW960BEJc9DbHb6passlifemin = 1 hourpasslifemax = 60 dayspassmod = 12/20/89 - 10:24:38authmask = login,change_password,enter_passwordfail_count = 0audit_id = 268audit_control = oraudit_syscalls = creat,unlinkaudit_tevents = login:0:1.EEEach field of the .PN auth entry is represented as a keyword followed by an equalssign.  The value part of the field may be an integer,a string, a time specification,a date, or a comma-separated list of value keywords.  The effect ofthe field is described in.MS auth 5 ..PPThe.PN uid ,.PN fail_count ,and.PN audit_idfields expect integer values..PPThe.PN passwordfield is a string containing the encrypted password.  One way of disabling anaccount is to set this to a non-empty string less than 24 characters inlength such as `nologin'..PPThe.PN passlifeminand.PN passlifemaxfields specify the password expiration information. They may containan integer specifying seconds, or a combination of scaled values.The units recognized for scaling are.PN seconds ,.PN minutes ,.PN hours ,and.PN days .Only the first letter of the unit need be supplied.  A.PN passlifemaxof one day, one hour and five minutes could be specified as any of:.EXpasslifemax = 1 day 1 hour 5 minutespasslifemax = 25 h 5 mpasslifemax = 90300 secondspasslifemax = 90300.EEin addition to other combinations..PPThe.PN passmodfield is a date.It is specified in the same format as the default output of the ULTRIX.PN date(1)command.  The time portion is optional and defaults to thebeginning of the day..PPThe.PN authmask ,.PN audit_syscalls ,and.PN audit_teventsfields expect a comma-separated list of value tokens. For.PN authmaskthis is zero or more of.PN login ,.PN change_password ,and.PN enter_password .For the audit information this corresponds to the name of the audit event.See the.PN auditmask(8)manpage for more information on audit events..PPThe.PN audit_controlfield may be one of.PN or ,.PN and ,or.PN off .See the.PN audcntl(2)manpage for more information on the affect of these values..SH RestrictionsOnly the superuser can edit .PN auth entries..PPChanging the .PN auth entry will not affectthe uid and audit information of existing login sessions..PPIf the uid field of the entry is changed the mapping to the.PN /etc/passwdfile will be affected.  Changes to the passwd file will probably be necessary..SH DiagnosticsVarious messages about incorrect input. All are self-explanatory..SH Files.TP 15.PN /etc/auth.[dir,pag]Contains all authorization information.TP.PN /etc/passwdMaps usernames to UIDs.SH See Alsoaudcntl(2), auth(5), auditmask(8), getauth(8), vipw(8).br.I "Security Guide for Administrators"

⌨️ 快捷键说明

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