{"id":8291,"date":"2023-09-12T06:26:00","date_gmt":"2023-09-11T21:26:00","guid":{"rendered":"http:\/\/www.tyosuke20xx.com\/blog\/?p=8291"},"modified":"2023-09-12T06:26:02","modified_gmt":"2023-09-11T21:26:02","slug":"unix-%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89-7","status":"publish","type":"post","link":"http:\/\/www.tyosuke20xx.com\/blog\/?p=8291","title":{"rendered":"UNIX \u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"\n<p>dotinstall:~ $ ls -l \/etc\/<br>total 208<br>-rw-r&#8211;r&#8211; 1 root root 7 May 29 2020 alpine-release<br>drwxr-xr-x 1 root root 4096 Sep 23 2020 apk<br>drwxr-xr-x 3 root root 4096 Sep 23 2020 ca-certificates<br>-rw-r&#8211;r&#8211; 1 root root 5613 Jun 18 2020 ca-certificates.conf<br>drwxr-xr-x 2 root root 4096 May 29 2020 conf.d<br>drwxr-xr-x 2 root root 4096 May 29 2020 crontabs<br>-rw-r&#8211;r&#8211; 1 root root 89 May 29 2020 fstab<br>-rw-r&#8211;r&#8211; 1 root root 693 Sep 23 2020 group<br>-rw-r&#8211;r&#8211; 1 root root 682 May 29 2020 group-<br>-rw-r&#8211;r&#8211; 1 root root 12 Sep 12 05:01 hostname<br>-rw-r&#8211;r&#8211; 1 root root 177 Sep 12 05:01 hosts<br>drwxr-xr-x 2 root root 4096 May 29 2020 init.d<br>-rw-r&#8211;r&#8211; 1 root root 570 May 29 2020 inittab<br>-rw-r&#8211;r&#8211; 1 root root 1748 Feb 9 2020 inputrc<br>-rw-r&#8211;r&#8211; 1 root root 54 May 29 2020 issue<br>-rw-r&#8211;r&#8211; 1 root root 309 Aug 9 2020 localtime<br>drwxr-xr-x 2 root root 4096 May 29 2020 logrotate.d<br>drwxr-xr-x 2 root root 4096 May 29 2020 modprobe.d<br>-rw-r&#8211;r&#8211; 1 root root 15 May 29 2020 modules<br>drwxr-xr-x 2 root root 4096 May 29 2020 modules-load.d<br>-rw-r&#8211;r&#8211; 1 root root 283 May 29 2020 motd<br>lrwxrwxrwx 1 root root 12 Sep 12 05:01 mtab -&gt; \/proc\/mounts<br>drwxr-xr-x 8 root root 4096 May 29 2020 network<br>drwxr-xr-x 2 root root 4096 May 29 2020 opt<br>-rw-r&#8211;r&#8211; 1 root root 164 May 29 2020 os-release<br>-rw-r&#8211;r&#8211; 1 root root 1233 Sep 23 2020 passwd<br>-rw-r&#8211;r&#8211; 1 root root 1172 May 29 2020 passwd-<br>drwxr-xr-x 7 root root 4096 May 29 2020 periodic<br>-rw-r&#8211;r&#8211; 1 root root 238 May 29 2020 profile<br>drwxr-xr-x 1 root root 4096 Sep 23 2020 profile.d<br>-rw-r&#8211;r&#8211; 1 root root 1865 May 29 2020 protocols<br>-rw-r&#8211;r&#8211; 1 root root 54 Sep 12 05:01 resolv.conf<br>-rw-r&#8211;r&#8211; 1 root root 65 May 22 2020 securetty<br>-rw-r&#8211;r&#8211; 1 root root 14464 May 29 2020 services<br>-rw-r&#8212;&#8211; 1 root shadow 454 Sep 23 2020 shadow<br>-rw-r&#8212;&#8211; 1 root shadow 422 May 29 2020 shadow-<br>-rw-r&#8211;r&#8211; 1 root root 48 Sep 23 2020 shells<br>drwxr-xr-x 1 root root 4096 May 29 2020 ssl<br>-rw-r&#8211;r&#8211; 1 root root 3941 May 25 2020 sudo.conf<br>-rw-r&#8211;r&#8211; 1 root root 6169 May 25 2020 sudo_logsrvd.conf<br>-rw-r&#8211;r&#8211; 1 root root 3228 Sep 23 2020 sudoers<br>drwxr-x&#8212; 2 root root 4096 Sep 23 2020 sudoers.d<br>-r&#8211;r&#8212;&#8211; 1 root root 3174 May 25 2020 sudoers.dist<br>-rw-r&#8211;r&#8211; 1 root root 53 May 29 2020 sysctl.conf<br>drwxr-xr-x 2 root root 4096 May 29 2020 sysctl.d<br>drwxr-xr-x 13 root root 4096 Sep 23 2020 terminfo<br>-rw-r&#8211;r&#8211; 1 root root 5306 May 22 2020 udhcpd.conf<br>dotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217;<br>-rw-r&#8211;r&#8211; 1 root root 3941 May 25 2020 sudo.conf<br>-rw-r&#8211;r&#8211; 1 root root 6169 May 25 2020 sudo_logsrvd.conf<br>-rw-r&#8211;r&#8211; 1 root root 3228 Sep 23 2020 sudoers<br>drwxr-x&#8212; 2 root root 4096 Sep 23 2020 sudoers.d<br>-r&#8211;r&#8212;&#8211; 1 root root 3174 May 25 2020 sudoers.dist<br>dotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217; | wc -l<br>5<br>dotinstall:~ $ ls -l \/etc\/ | grep &#8216;sudo&#8217; | wc -l &gt; results.txt<br>dotinstall:~ $ cat results.txt<br>5<br>dotinstall:~ $ rm results.txt<br>dotinstall:~ $<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dotinstall:~ $ ls -l \/etc\/total 208-rw-r&#8211;r&#8211; 1 root root 7 May 29 2020 alpine-releasedrwxr-xr-x 1 r &hellip; <a href=\"http:\/\/www.tyosuke20xx.com\/blog\/?p=8291\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;UNIX \u30b3\u30de\u30f3\u30c9&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[71],"tags":[],"class_list":["post-8291","post","type-post","status-publish","format-standard","hentry","category-unix"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8291"}],"version-history":[{"count":1,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8291\/revisions"}],"predecessor-version":[{"id":8292,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8291\/revisions\/8292"}],"wp:attachment":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}