shexp.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 80 行
1
80 行
.TH shexp 1 .SH Nameshexp \- display password expiration information for a user.SH Syntax.B shexp[\fB\-q\fP][\fIusername\fP].SH Description.NXR "shexp command".NXR "auth database" "examination".NXR "auth database" "shexp command"The command.PN shexpis used to display a user's password expiration information.The specified .IR username , or logname if no .I username is supplied, isconverted to a UID by searching through the passwd file.The UID is then used to look up the user's entryin the Auth Data Base.The password expiration information is then printed out in.PN ctime(3)format..EX% shexpExpires Tue Dec 6 10:49:18 EST 1988.EEIf the password has already expired the word \fIExpires\fP will bereplaced with the word \fIExpired\fP. If password expiration is disabledfor the particular user in question the output of.PN shexpwill be \fINever expires\fP..SH Options.IP \-q 5Instead of displaying the expiration date and time in.PN ctime(3)format, .PN shexpoutputs it as threedecimal numbers: the minimum password lifetime, the maximum passwordlifetime, and the password modification time.All three numbers are displayed as they are found in the.PN authdatabase..SH RestrictionsOnly the super-user may obtain information aboutusers with UIDs other than the real UID of the invoking process..SH Diagnostics.B "User not found in passwd data base.".brThere is no entry in .PN /etc/passwdfor the specified .IR username ..PP.B "Cannot stat auth file.".brThe .PN auth database is missing (security features may not be enabled)..PP.B "Insufficient privilege.".brAn insufficiently privileged user is asking for information about a.I username with a UID different then their current real-UID..PPAn exit value of 0 indicates a successful operation,any other exit status indicates an error..SH Files.PN /etc/auth.[pag,dir].br.PN /etc/passwd.SH See Alsopasswd(1), getauthuid(3), auth(5).br\fISecurity Guide for Users\fP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?