{"id":4264,"date":"2022-12-20T17:48:49","date_gmt":"2022-12-20T20:48:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/chage-zh_cn\/"},"modified":"2022-12-20T17:48:49","modified_gmt":"2022-12-20T20:48:49","slug":"chage-zh_cn","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/chage-zh_cn\/","title":{"rendered":"CHAGE (zh_CN)"},"content":{"rendered":"<h1 align=\"center\">CHAGE<\/h1>\n<p> <a href=\"#\u00e5\u00e7\u00a7\u00b0\">\u00e5\u00e7\u00a7\u00b0<\/a><br \/> <a href=\"#\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\">\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2<\/a><br \/> <a href=\"#\u00e6\u00e8\u00bf\u00b0\">\u00e6\u00e8\u00bf\u00b0<\/a><br \/> <a href=\"#\u00e9\u00e9\u00a1\u00b9\">\u00e9\u00e9\u00a1\u00b9<\/a><br \/> <a href=\"#\u00e6\u00b3\u00a8\u00e6\">\u00e6\u00b3\u00a8\u00e6<\/a><br \/> <a href=\"#\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\">\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e6\u00e4\u00bb\u00b6\">\u00e6\u00e4\u00bb\u00b6<\/a><br \/> <a href=\"#\u00e9\u00e5\u00ba\u00e5\u00bc\">\u00e9\u00e5\u00ba\u00e5\u00bc<\/a><br \/> <a href=\"#\u00e5\u00e8\u00a7\">\u00e5\u00e8\u00a7<\/a> <\/p>\n<hr>\n<h2>\u00e5\u00e7\u00a7\u00b0 <a name=\"\u00e5\u00e7\u00a7\u00b0\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">chage \u2212 \u00e6\u00b4\u00e6\u00b9\u00e7\u00a8\u00e6\u00b7\u00e5\u00af\u00e7\u00a0\u00e8\u00bf\u00e6\u00e4\u00bf\u00a1\u00e6\u00af<\/p>\n<h2>\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 <a name=\"\u00e5\u00a4\u00a7\u00e7\u00ba\u00b2\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><b>chage<\/b> [<i>\u00e9\u00e9\u00a1\u00b9<\/i>] <i>\u00e7\u00bb\u00e5\u00bd<\/i><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>\u00e6\u00e8\u00bf\u00b0 <a name=\"\u00e6\u00e8\u00bf\u00b0\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>chage<\/b> command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change their password.<\/p>\n<h2>\u00e9\u00e9\u00a1\u00b9 <a name=\"\u00e9\u00e9\u00a1\u00b9\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chage<\/b> \u00e5\u00bd\u00e4\u00bb\u00a4\u00e5\u00af\u00e4\u00bb\u00a5\u00e6\u00a5\u00e5\u00e7\u00e9\u00e9\u00a1\u00b9\u00e6\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b>, <b>\u2212\u2212lastday\u00a0<\/b><i>LAST_DAY<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the number of days since January 1st, 1970 when the password was last changed. The date may also be expressed in the format YYYY\u2212MM\u2212DD (or the format more commonly used in your area).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212E<\/b>, <b>\u2212\u2212expiredate\u00a0<\/b><i>EXPIRE_DATE<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the date or number of days since January 1, 1970 on which the user&#8217;s account will no longer be accessible. The date may also be expressed in the format YYYY\u2212MM\u2212DD (or the format more commonly used in your area). A user whose account is locked must contact the system administrator before being able to use the system again.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><i>EXPIRE_DATE<\/i> \u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>\u22121<\/i> \u00e4\u00bc\u00e7\u00a7\u00bb\u00e9\u00a4\u00e8\u00b4\u00a6\u00e6\u00b7\u00e7\u00e8\u00bf\u00e6\u00e6\u00a5\u00e6\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00b0\u00e5\u00ae\u00e5\u00b8\u00ae\u00e5\u00a9\u00e4\u00bf\u00a1\u00e6\u00af\u00e5\u00b9\u00b6\u00e9\u00e5\u00ba\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212I<\/b>, <b>\u2212\u2212inactive\u00a0<\/b><i>INACTIVE<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the number of days of inactivity after a password has expired before the account is locked. The <i>INACTIVE<\/i> option is the number of days of inactivity. A user whose account is locked must contact the system administrator before being able to use the system again.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><i>INACTIVE<\/i> \u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>\u22121<\/i> \u00e4\u00bc\u00e7\u00a7\u00bb\u00e9\u00a4\u00e8\u00b4\u00a6\u00e6\u00b7\u00e7\u00a6\u00e7\u00a8\u00e5\u00e8\u00bd\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212l<\/b>, <b>\u2212\u2212list<\/b><\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00b0\u00e5\u00ae\u00e8\u00b4\u00a6\u00e6\u00b7\u00e5\u00b9\u00b4\u00e9\u00be\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212m<\/b>, <b>\u2212\u2212mindays\u00a0<\/b><i>MIN_DAYS<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00a8\u00e5\u00af\u00e7\u00a0\u00e6\u00b4\u00e6\u00b9\u00e4\u00b9\u00e9\u00b4\u00e7\u00e6\u00e5\u00b0\u00e5\u00a4\u00a9\u00e6\u00b0\u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>MIN_DAYS<\/i>\u00e3\u00e6\u00a4\u00e5\u00e6\u00ae\u00b5\u00e4\u00b8\u00e7 0 \u00e5\u00bc\u00e8\u00a1\u00a8\u00e7\u00a4\u00ba\u00e7\u00a8\u00e6\u00b7\u00e5\u00af\u00e4\u00bb\u00a5\u00e5\u00a8\u00e4\u00bb\u00bb\u00e4\u00bd\u00e6\u00b6\u00e9\u00b4\u00e6\u00b4\u00e6\u00b9\u00e5\u00b6\u00e5\u00af\u00e7\u00a0\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212M<\/b>, <b>\u2212\u2212maxdays\u00a0<\/b><i>MAX_DAYS<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the maximum number of days during which a password is valid. When <i>MAX_DAYS<\/i> plus <i>LAST_DAY<\/i> is less than the current day, the user will be required to change their password before being able to use their account. This occurrence can be planned for in advance by use of the <b>\u2212W<\/b> option, which provides the user with advance warning.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><i>MAX_DAYS<\/i> \u00e8\u00ae\u00be\u00e7\u00bd\u00ae\u00e4\u00b8\u00ba <i>\u22121<\/i> \u00e4\u00bc\u00e7\u00a7\u00bb\u00e9\u00a4\u00e5\u00af\u00e7\u00a0\u00e6\u00e6\u00e6\u00a7\u00e6\u00a3\u00e6\u00a5\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212R<\/b>, <b>\u2212\u2212root\u00a0<\/b><i>CHROOT_DIR<\/i><\/p>\n<p style=\"margin-left:17%;\">Apply changes in the <i>CHROOT_DIR<\/i> directory and use the configuration files from the <i>CHROOT_DIR<\/i> directory.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212W<\/b>, <b>\u2212\u2212warndays\u00a0<\/b><i>WARN_DAYS<\/i><\/p>\n<p style=\"margin-left:17%;\">Set the number of days of warning before a password change is required. The <i>WARN_DAYS<\/i> option is the number of days prior to the password expiring that a user will be warned their password is about to expire.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a6\u00e6\u00e6\u00b2\u00a1\u00e6\u00e9\u00e6\u00a9\u00e4\u00bb\u00bb\u00e4\u00bd\u00e9\u00e9\u00a1\u00b9\u00ef\u00bc<b>chage<\/b> \u00e4\u00bc\u00e8\u00bf\u00e5\u00a5\u00e4\u00ba\u00a4\u00e4\u00ba\u00e6\u00a8\u00a1\u00e5\u00bc\u00ef\u00bc\u00e4\u00bb\u00a5\u00e6\u00e6\u00e5- \u00e6\u00ae\u00b5\u00e7\u00e5\u00bd\u00e5\u00e5\u00bc\u00e6\u00e7\u00a4\u00ba\u00e7\u00a8\u00e6\u00b7\u00e3\u00e8\u00be\u00e5\u00a5\u00e4\u00b8\u00e4\u00b8\u00aa\u00e6\u00b0\u00e5\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e6\u00b4\u00e6\u00b9\u00e8\u00bf\u00e4\u00ba\u00e5- \u00e6\u00ae\u00b5\u00ef\u00bc\u00e6\u00e8\u00e7\u00e7\u00a9\u00ba\u00e4\u00bd\u00bf\u00e7\u00a8\u00e5\u00bd\u00e5\u00e5\u00bc\u00e3\u00e5\u00bd\u00e5\u00e5\u00bc\u00e5\u00ba\u00e7\u00b0\u00e5\u00a8 <i>[ ]<\/i> \u00e6\u00a0\u00e8\u00ae\u00b0\u00e5\u00af\u00b9\u00e9\u00e3<\/p>\n<h2>\u00e6\u00b3\u00a8\u00e6 <a name=\"\u00e6\u00b3\u00a8\u00e6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chage<\/b> \u00e9\u00e8\u00a6\u00e6\u00e4\u00b8\u00e4\u00b8\u00aa\u00e5\u00bd\u00b1\u00e5\u00e5\u00af\u00e7\u00a0\u00e6\u00e4\u00bb\u00b6\u00e6\u00e5\u00af\u00e7\u00a8\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00aa\u00e6 root \u00e6\u00e5\u00af\u00e4\u00bb\u00a5\u00e4\u00bd\u00bf\u00e7\u00a8 <b>chage<\/b>\u00ef\u00bc\u00e4\u00b8\u00e4\u00b8\u00aa\u00e7\u00b9\u00e6\u00ae\u00e6\u00e5\u00b5\u00e6\u00af <b>\u2212l<\/b> \u00e9\u00e9\u00a1\u00b9\u00ef\u00bc\u00e7\u00a8\u00e6\u00a5\u00e8\u00ae\u00a9\u00e9\u00e7\u00b9\u00e6\u00e7\u00a8\u00e6\u00b7\u00e8\u00a7\u00e5\u00be\u00e8\u00aa\u00e5\u00b7\u00b1\u00e7\u00e5\u00af\u00e7\u00a0\u00e6\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bd\u00e6\u00b6\u00e8\u00bf\u00e6\u00e3<\/p>\n<h2>\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00e5\u00a8 \/etc\/login.defs \u00e4\u00b8\u00e6\u00e5\u00a6\u00e4\u00b8\u00e9\u00e7\u00bd\u00ae\u00e5\u00e9\u00ef\u00bc\u00e5\u00af\u00e4\u00bb\u00a5\u00e7\u00a8\u00e6\u00a5\u00e6\u00b4\u00e6\u00b9\u00e6\u00a4\u00e5\u00b7\u00a5\u00e5\u00b7\u00e7\u00e8\u00a1\u00e4\u00b8\u00ba\u00ef\u00bc<\/p>\n<h2>\u00e6\u00e4\u00bb\u00b6 <a name=\"\u00e6\u00e4\u00bb\u00b6\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/passwd<\/p>\n<p style=\"margin-left:17%;\">\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/shadow<\/p>\n<p style=\"margin-left:17%;\">\u00e5\u00ae\u00e5\u00a8\u00e7\u00a8\u00e6\u00b7\u00e8\u00b4\u00a6\u00e6\u00b7\u00e4\u00bf\u00a1\u00e6\u00af\u00e3<\/p>\n<h2>\u00e9\u00e5\u00ba\u00e5\u00bc <a name=\"\u00e9\u00e5\u00ba\u00e5\u00bc\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>chage<\/b> \u00e5\u00bd\u00e4\u00bb\u00a4\u00e6\u00e5\u00a6\u00e4\u00b8\u00e9\u00e5\u00ba\u00e5\u00bc\u00ef\u00bc<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>0<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e5<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>1<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00e9\u00e4\u00b8\u00e5\u00a4<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>2<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00e7\u00e5\u00bd\u00e4\u00bb\u00a4\u00e8\u00af\u00e6\u00b3<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>15<\/i><\/p>\n<p style=\"margin-left:17%;\">\u00e6\u00a0\u00e6\u00b3\u00e6\u00be\u00e5\u00b0\u00e5\u00bd\u00b1\u00e5\u00e5\u00af\u00e7\u00a0\u00e6\u00e4\u00bb\u00b6<\/p>\n<h2>\u00e5\u00e8\u00a7 <a name=\"\u00e5\u00e8\u00a7\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>passwd<\/b>(5), <b>shadow<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>CHAGE \u00e5\u00e7\u00a7\u00b0 \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 \u00e6\u00e8\u00bf\u00b0 \u00e9\u00e9\u00a1\u00b9 \u00e6\u00b3\u00a8\u00e6 \u00e9\u00e7\u00bd\u00ae\u00e6\u00e4\u00bb\u00b6 \u00e6\u00e4\u00bb\u00b6 \u00e9\u00e5\u00ba\u00e5\u00bc \u00e5\u00e8\u00a7 \u00e5\u00e7\u00a7\u00b0 chage \u2212 \u00e6\u00b4\u00e6\u00b9\u00e7\u00a8\u00e6\u00b7\u00e5\u00af\u00e7\u00a0\u00e8\u00bf\u00e6\u00e4\u00bf\u00a1\u00e6\u00af \u00e5\u00a4\u00a7\u00e7\u00ba\u00b2 chage [\u00e9\u00e9\u00a1\u00b9] \u00e7\u00bb\u00e5\u00bd \u00e6\u00e8\u00bf\u00b0 The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change their password. \u00e9\u00e9\u00a1\u00b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[962],"tags":[964,1281,1284],"class_list":["post-4264","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-chage","tag-zh_cn"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4264"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4264\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}