{"id":3001,"date":"2022-06-25T19:35:01","date_gmt":"2022-06-25T10:35:01","guid":{"rendered":"https:\/\/www.choco.org.uk\/chocodb\/?p=3001"},"modified":"2022-06-27T09:04:06","modified_gmt":"2022-06-27T00:04:06","slug":"rokeylinux8%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.choco.org.uk\/chocodb\/?p=3001","title":{"rendered":"RokeyLinux8\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3002"},"content":{"rendered":"<p>CentOS7\u304c2024\u5e74\u306b\u30b5\u30dd\u30fc\u30c8\u5207\u308c\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u308c\u307e\u3067\u306b\u4ee3\u66ff\uff2f\uff33\u3092\u691c\u8a0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001ALMA\u306b\u3059\u308b\u304bROCKY\u306b\u3059\u308b\u304b\u60a9\u3093\u3060\u306e\u3067\u3059\u304c\u3001<span style=\"color: #0000ff;\">CentOS100%\u4e92\u63db<\/span>\u306eRokeyLinux\u3092\u4f7f\u3046\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>2022\u5e746\u6708\u6642\u70b9\u3067\u306f\u3001\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3001VPS\u30b5\u30fc\u30d3\u30b9\u7b49\u3001\u4e3b\u3060\u3063\u305f\u6240\u306f\u8ed2\u4e26\u307f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f\u7701\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306fSSH\u3067root\u30ed\u30b0\u30a4\u30f3\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u5f8c\u5fc5\u9808\u306e\u30b3\u30de\u30f3\u30c9\u4e00\u767a\uff01<br \/>\n\uff1ednf update<\/p>\n<p>\u3053\u306e\u307e\u307e\u3067\u306f\u5371\u306a\u3044\u306e\u3067\u3001\u307e\u305a\u306fSSH\u4ee5\u5916\u306ePORT\u3092\u5168\u3066\u9589\u3058\u307e\u3057\u3087\u3046\u3002\uff0822\u756a\u4ee5\u5916\u5916\u90e8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3055\u305b\u306a\u3044\u3002\uff09<br \/>\n\u203b\u9589\u3058\u308b\u65b9\u6cd5\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3067\u3082\u3001\u30d1\u30b1\u30c3\u30c8\u30d5\u30a3\u30eb\u30bf\u3067\u3082\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3067\u3082\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u305a\u3063\u3068SSH\u3067\u306e\u64cd\u4f5c\u3067\u3059\u3002<\/p>\n<p>\u2460\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305aROOT\u6a29\u9650\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\uff1esudo su &#8211;<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\uff1euseradd nadesiko<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\uff1epasswd nadesiko<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4e8c\u56de\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\nnade1234<br \/>\nnade1234<\/p>\n<p>\u3053\u308c\u3067\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u2461\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306bROOT\u6607\u683c\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<br \/>\n\uff1eusermod -G wheel nadesiko<\/p>\n<p>\uff1evisudo<br \/>\nAllows people in group wheel to run all commands<br \/>\n%wheel ALL=(ALL) ALL<\/p>\n<p>\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n\uff1eid nadesiko<br \/>\nuid=1000(nadesiko) gid=1000(nadesiko) groups=1000(nadesiko),10(wheel)<\/p>\n<p>\u2462ROOT\u30ed\u30b0\u30a4\u30f3\u3092\u62d2\u5426\u3057\u307e\u3059\u3002<br \/>\n\uff1evi \/etc\/ssh\/sshd_config<\/p>\n<p>ROOT\u30ed\u30b0\u30a4\u30f3\u3092\u62d2\u5426\u3057\u307e\u3059\u3002<br \/>\nPermitRootLogin yes \u21d2 PermitRootLogin no \u306b\u5909\u66f4<\/p>\n<p>\uff1esystemctl reload sshd<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u65b9\u5f0f\u3067\u4eca\u5f8c\u7d9a\u3051\u3066\u3044\u304f\u306a\u3089\u3070\u3001SSH\u306e\u8a2d\u5b9a\u306f\u3053\u3053\u307e\u3067\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5834\u5408\u3067\u3059\u304c\u3001ROOT\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u82f1\u6570\u5b57\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u8a18\u53f7\u306a\u3069\u3092\u542b\u3081\u306616\u6587\u5b57\u4ee5\u4e0a\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\uff09<\/p>\n<p>\u203b\u516c\u958b\u9375\u8a8d\u8a3c\u306b\u3059\u308b\u5834\u5408\u306f\u5225\u9014\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS7\u304c2024\u5e74\u306b\u30b5\u30dd\u30fc\u30c8\u5207\u308c\u306b\u306a\u308a\u307e\u3059\u3002 \u305d\u308c\u307e\u3067\u306b\u4ee3\u66ff\uff2f\uff33\u3092\u691c\u8a0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001ALMA\u306b\u3059\u308b\u304bROCKY\u306b\u3059\u308b\u304b\u60a9\u3093\u3060\u306e\u3067\u3059\u304c\u3001CentOS100%\u4e92\u63db\u306eRokeyLinux\u3092\u4f7f\u3046\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002 20 [&hellip;]<\/p>\n","protected":false},"author":2,"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,"footnotes":""},"categories":[39],"tags":[193,58],"class_list":["post-3001","post","type-post","status-publish","format-standard","hentry","category-server","tag-rokeylinux","tag-ssh"],"_links":{"self":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/3001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3001"}],"version-history":[{"count":8,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/3001\/revisions"}],"predecessor-version":[{"id":3011,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/3001\/revisions\/3011"}],"wp:attachment":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}