{"id":8447,"date":"2023-01-28T08:48:51","date_gmt":"2023-01-27T23:48:51","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=8447"},"modified":"2023-07-20T05:58:36","modified_gmt":"2023-07-19T20:58:36","slug":"linux%e3%81%a7%e3%82%b0%e3%83%ab%e3%83%bc%e3%83%97%e3%81%ae%e8%bf%bd%e5%8a%a0%e3%81%a8%e5%89%8a%e9%99%a4%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81%ef%bc%88groupadd%ef%bc%8fgpasswd%ef%bc%8fgroupdel%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/8447","title":{"rendered":"Linux\u3067\u30b0\u30eb\u30fc\u30d7\u306e\u8ffd\u52a0\u3068\u524a\u9664\u3092\u884c\u3046\uff01\uff08groupadd\uff0fgpasswd\uff0fgroupdel\uff09"},"content":{"rendered":"<p>Linux\u3067\u30b0\u30eb\u30fc\u30d7\u306e\u8ffd\u52a0\u3068\u524a\u9664\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u30b0\u30eb\u30fc\u30d7\u3092\u8ffd\u52a0\u3059\u308b\uff01<\/h2>\n<p>\u30b0\u30eb\u30fc\u30d7\u306f\u3001\u4ed6\u306eLinux\u30b5\u30fc\u30d0\u306b\u3082\u540c\u3058\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u540c\u3058GID\u306b\u3059\u308b\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u306e\u3067\u3001GID\u3092\u6c7a\u3081\u3066\u304b\u3089\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# groupadd -g 10000 testgroup\r\n# grep testgroup \/etc\/group\r\ntestgroup:x:10000:\r\n<\/pre>\n<h2>\u30b0\u30eb\u30fc\u30d7\u306b\u30e6\u30fc\u30b6\u3092\u767b\u9332\u3059\u308b\uff01<\/h2>\n<p>\u4f5c\u6210\u3057\u305f\u30b0\u30eb\u30fc\u30d7\u306b\u30e6\u30fc\u30b6\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# gpasswd -a testuser testgroup\r\nAdding user testuser to group testgroup\r\n# grep testgroup \/etc\/group\r\ntestgroup:x:10000:testuser\r\n<\/pre>\n<h2>\u30b0\u30eb\u30fc\u30d7\u304b\u3089\u30e6\u30fc\u30b6\u3092\u524a\u9664\u3059\u308b\uff01<\/h2>\n<p>\u30e6\u30fc\u30b6\u540d\u3092\u6307\u5b9a\u3057\u3066\u3001\u30e6\u30fc\u30b6\u3092\u30b0\u30eb\u30fc\u30d7\u304b\u3089\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# gpasswd -d testuser testgroup\r\nRemoving user testuser from group testgroup\r\n# grep testgroup \/etc\/group\r\ntestgroup:x:10000:\r\n<\/pre>\n<h2>\u30b0\u30eb\u30fc\u30d7\u3092\u524a\u9664\u3059\u308b\uff01<\/h2>\n<p>\u30b0\u30eb\u30fc\u30d7\u306e\u540d\u3092\u6307\u5b9a\u3057\u3066\u3001\u30b0\u30eb\u30fc\u30d7\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n#  groupdel testgroup\r\n# grep testgroup \/etc\/group\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f\u3001\u4e8b\u524d\u306bGID\u3092\u6c7a\u3081\u3066\u304b\u3089\u4f5c\u6210\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/8660\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30e6\u30fc\u30b6\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u6a29\u9650\u3092\u7ba1\u7406\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3067\u30e6\u30fc\u30b6\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u6a29\u9650\u3092\u7ba1\u7406\u3059\u308b\uff01<\/div><div class=\"substr\">Linux\u306e\u30e6\u30fc\u30b6\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H5qkUu\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51ZPkoBGdZL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u30b0\u30eb\u30fc\u30d7\u306e\u8ffd\u52a0\u3068\u524a\u9664\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[188],"tags":[668,798,799,282,797,25,673,654],"class_list":["post-8447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-account","tag-gpasswd","tag-groupadd","tag-groupdel","tag-linux","tag-797","tag-25","tag-673","tag-654"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=8447"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8447\/revisions"}],"predecessor-version":[{"id":13155,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/8447\/revisions\/13155"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=8447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=8447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=8447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}