首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

如何是unix 里用户用不过期

2012-04-06 
怎么是unix 里用户用不过期?怎么是unix 里用户用不过期?大家给个建议[解决办法]linux 中/etc/shadow 文件

怎么是unix 里用户用不过期?
怎么是unix 里用户用不过期?大家给个建议

[解决办法]
linux 中/etc/shadow 文件中有个account expiration date 字段

C/C++ code
The date of expiration of the account, expressed as the number of           days since Jan 1, 1970.           Note that an account expiration differs from a password expiration.           In case of an acount expiration, the user shall not be allowed to           login. In case of a password expiration, the user is not allowed to           login using her password.           An empty field means that the account will never expire.           The value 0 should not be used as it is interpreted as either an           account with no expiration, or as an expiration on Jan 1, 1970. 

热点排行