{"id":1141,"date":"2011-07-08T21:47:20","date_gmt":"2011-07-08T13:47:20","guid":{"rendered":"http:\/\/www.jpuyy.com\/blog\/?p=1141"},"modified":"2021-02-19T13:52:19","modified_gmt":"2021-02-19T05:52:19","slug":"linux-when-system-installed","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=1141","title":{"rendered":"\u5982\u4f55\u67e5\u770b Linux \u7cfb\u7edf\u5b89\u88c5\u7684\u65f6\u95f4"},"content":{"rendered":"<p>\u6709\u4e2a\u529e\u6cd5\u662f\u67e5\u770b lost+found \u76ee\u5f55\u72b6\u6001\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u76ee\u5f55\u4e00\u822c\u5f88\u5c11\u7528\u5230\uff0c\u6539\u52a8\u6700\u5c11\uff08\u5f88\u53ef\u80fd\u65e0\u4efb\u4f55\u6539\u52a8\uff09\uff0c\u800c\u5176\u4ed6\u76ee\u5f55\u6bd4\u5982 \/bin, \/home \u7b49\u56e0\u4e3a\u7ecf\u5e38\u5347\u7ea7\u7cfb\u7edf\u3001\u521b\u5efa\u7528\u6237\u7b49\u64cd\u4f5c\u4f1a\u4fee\u6539\u76ee\u5f55\u72b6\u6001\u3002<\/p>\n<p>$ stat \/lost+found\/<br \/>\nFile: `\/lost+found\/\u2019<br \/>\nSize: 16384 Blocks: 32 IO Block: 4096 directory<br \/>\nDevice: 805h\/2053d Inode: 11 Links: 2<br \/>\nAccess: (0700\/drwx\u2014\u2014) Uid: ( 0\/ root) Gid: ( 0\/ root)<br \/>\nAccess: 2010-03-11 02:40:20.000000000 -0800<br \/>\nModify: 2010-03-10 19:14:34.000000000 -0800<br \/>\nChange: 2010-03-10 19:14:34.000000000 -0800<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u529e\u6cd5\u662f\u67e5\u770b bin, daemon, sys, adm \u7b49\u8fd9\u4e9b\u5e10\u53f7\u7684\u5efa\u7acb\u65f6\u95f4\uff0c\u8fd9\u4e9b\u5e10\u53f7\u662f\u5728\u7cfb\u7edf\u5b89\u88c5\u7684\u65f6\u5019\u521b\u5efa\u7684\uff0c\u6240\u4ee5\u8fd9\u4e9b\u5e10\u53f7\u7684\u521b\u5efa\u65f6\u95f4\u57fa\u672c\u4e0a\u5c31\u662f Linux \u7cfb\u7edf\u7684\u5b89\u88c5\u65f6\u95f4\uff1a<\/p>\n<p># passwd -S bin<br \/>\nbin LK 2010-03-10 0 99999 7 -1 (Alternate authentication scheme in use.)<\/p>\n<p># passwd -S daemon<br \/>\ndaemon LK 2010-03-10 0 99999 7 -1 (Alternate authentication scheme in use.)<\/p>\n<p>\u4e0a\u9762\u8fd9\u4e2a\u770b\u5e10\u53f7\u521b\u5efa\u65f6\u95f4\u7684\u65b9\u5f0f\u6709\u5c40\u9650\u6027\uff0c\u4e0d\u540c\u7684 Linux \u53d1\u884c\u7248\u5b89\u88c5\u7684\u65f6\u5019\u5904\u7406 bin, daemon \u8fd9\u4e9b\u7cfb\u7edf\u5e10\u53f7\u7684\u65b9\u5f0f\u4e0d\u540c\uff0c\u6709\u7684\u662f\u76f4\u63a5\u4ece\u5b89\u88c5\u5149\u76d8\u62f7\u8d1d\u8fd9\u4e9b\u5e10\u53f7\u548c\u76f8\u5173\u6587\u4ef6\uff0c\u6709\u7684\u662f\u5b89\u88c5\u811a\u672c\u81ea\u52a8\u521b\u5efa\u3002\u53ea\u6709\u5b89\u88c5\u811a\u672c\u81ea\u52a8\u521b\u5efa\u7684\u53d1\u884c\u7248\u672c\u624d\u80fd\u6839\u636e\u5e10\u53f7\u7684\u521b\u5efa\u65f6\u95f4\u6765\u5224\u65ad\u7cfb\u7edf\u7684\u5b89\u88c5\u65f6\u95f4\u3002<\/p>\n<p>\u8f6c\u8f7d\u81ea\uff1ahttp:\/\/www.vpsee.com\/2011\/06\/how-to-find-out-a-linux-system-installation-date\/<\/p>\n<p>use this:<\/p>\n<p>stat \/etc\/shadow<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e2a\u529e\u6cd5\u662f\u67e5\u770b lost+found \u76ee\u5f55\u72b6\u6001\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u76ee\u5f55\u4e00\u822c\u5f88\u5c11\u7528\u5230\uff0c\u6539\u52a8\u6700\u5c11\uff08\u5f88\u53ef\u80fd\u65e0\u4efb\u4f55\u6539\u52a8\uff09\uff0c\u800c\u5176\u4ed6\u76ee\u5f55\u6bd4\u5982 \/bin, \/home \u7b49\u56e0\u4e3a\u7ecf\u5e38\u5347\u7ea7\u7cfb\u7edf\u3001\u521b\u5efa\u7528\u6237\u7b49\u64cd\u4f5c\u4f1a\u4fee\u6539\u76ee\u5f55\u72b6\u6001\u3002 $ stat \/lost+found\/ File: `\/lost+found\/\u2019 Size: 16384 Blocks: 32 IO Block: 4096 directory Device: 805h\/2053d Inode: 11 Links: 2 Access: (0700\/drwx\u2014\u2014) Uid: ( 0\/ root) Gid: ( 0\/ root) Access: 2010-03-11 02:40:20.000000000 -0800 Modify: 2010-03-10 19:14:34.000000000 -0800 Change: 2010-03-10 19:14:34.000000000 -0800 \u8fd8\u6709\u4e00\u79cd\u529e\u6cd5\u662f\u67e5\u770b bin, daemon, sys, adm \u7b49\u8fd9\u4e9b\u5e10\u53f7\u7684\u5efa\u7acb\u65f6\u95f4\uff0c\u8fd9\u4e9b\u5e10\u53f7\u662f\u5728\u7cfb\u7edf\u5b89\u88c5\u7684\u65f6\u5019\u521b\u5efa\u7684\uff0c\u6240\u4ee5\u8fd9\u4e9b\u5e10\u53f7\u7684\u521b\u5efa\u65f6\u95f4\u57fa\u672c\u4e0a\u5c31\u662f Linux \u7cfb\u7edf\u7684\u5b89\u88c5\u65f6\u95f4\uff1a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[23],"class_list":["post-1141","post","type-post","status-publish","format-standard","hentry","category-linux","tag-summary"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1141"}],"version-history":[{"count":5,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":9270,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1141\/revisions\/9270"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}