{"id":379,"date":"2018-02-20T09:38:39","date_gmt":"2018-02-20T00:38:39","guid":{"rendered":"http:\/\/www.macvox.jp\/?p=379"},"modified":"2019-02-18T14:08:10","modified_gmt":"2019-02-18T05:08:10","slug":"linux-%e3%83%a6%e3%83%bc%e3%82%b6%e3%83%bc%e8%bf%bd%e5%8a%a0%e3%83%bb%e5%89%8a%e9%99%a4%e5%8f%8a%e3%81%b3%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.macvox.jp\/index.php\/archives\/379","title":{"rendered":"Linux \u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u30fb\u524a\u9664\u53ca\u3073\u8a2d\u5b9a"},"content":{"rendered":"
\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3067\u3088\u304f\u30e6\u30fc\u30b6\u306e\u8a2d\u5b9a\u6bce\u306b
\nGoogle\u5148\u751f\u306b\u304a\u4e16\u8a71\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3044\u3044\u52a0\u6e1b\u899a\u66f8\u3092\u3002
\n\u307e\u305a\u306froot\u30e6\u30fc\u30b6\u30fc\u306b\u306a\u3063\u3066\u304b\u3089\u3002\u3002<\/p>\n
[root@xxxxxxx.xxx]# adduser \u8ffd\u52a0\u3057\u305f\u3044\u30e6\u30fc\u30b6\u30fc\u540d<\/p><\/blockquote>\n
\u8ffd\u52a0\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u3051\u308b<\/p>\n
[root@xxxxxxx.xxx]# passwd \u8ffd\u52a0\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d
\nChanging password for user \u8ffd\u52a0\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d
\nNew UNIX password:\u30d1\u30b9\u30ef\u30fc\u30c9
\nRetype new UNIX password:\u30d1\u30b9\u30ef\u30fc\u30c9<\/p><\/blockquote>\n\u30e6\u30fc\u30b6\u30fc\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u901a\u5e38home\u4ee5\u4e0b\u306b\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u3057\u3066
\n\u8a2d\u5b9a\u3055\u308c\u308b\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4efb\u610f\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f
\nusermod\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046<\/p>\nusermod -d \/home\/\u8a2d\u5b9a\u3057\u305f\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u3000\u30e6\u30fc\u30b6\u30fc\u540d<\/p><\/blockquote>\n
\u3068\u3059\u308b
\nusermod\u306e\u8907\u5408\u6280\u3067<\/p>\n\n
- \u30e6\u30fc\u30b6\u30fc\u540d\u3092\u3010user01\u3011\n
- \u30c7\u30d5\u30a9\u30eb\u30c8\u30b0\u30eb\u30fc\u30d7\u3092\u3010defo_group\u3011<\/li>\n
- \u30b5\u30d6\u30b0\u30eb\u30fc\u30d7\u3092\u3010sub_group\u3011\u203b\u8907\u6570\u306e\u30b5\u30d6\u30b0\u30eb\u30fc\u30d7\u306e\u5834\u5408\u306f\u3010,\u3011\u30ab\u30f3\u30de\u3067\u533a\u5207\u308b<\/li>\n
- \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u3010home_dire\u3011<\/li>\n<\/ul>\n
\u3068\u3057\u305f\u3044\u5834\u5408\u306f<\/p>\n
usermod -g defo_group -G sub_group -d \/home\/home_dire -m user01<\/p><\/blockquote>\n
\u3068\u3059\u308b\u3002<\/p>\n
\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f<\/p>\n
[root@xxxxxxx.xxx]# id -a user01<\/p><\/blockquote>\n
\u3068\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3067\u3088\u304f\u30e6\u30fc\u30b6\u306e\u8a2d\u5b9a\u6bce\u306b Google\u5148\u751f\u306b\u304a\u4e16\u8a71\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u3044\u3044\u52a0\u6e1b\u899a\u66f8\u3092\u3002 \u307e\u305a\u306froot\u30e6\u30fc\u30b6\u30fc\u306b\u306a\u3063\u3066\u304b\u3089\u3002\u3002 [root@xxxxxxx.xxx]# adduser \u8ffd\u52a0\u3057\u305f\u3044\u30e6\u30fc\u30b6\u30fc\u540d \u8ffd\u52a0\u3057 … \u7d9a\u304d\u3092\u8aad\u3080 “Linux \u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u30fb\u524a\u9664\u53ca\u3073\u8a2d\u5b9a”<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/posts\/379"}],"collection":[{"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":8,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions\/538"}],"wp:attachment":[{"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.macvox.jp\/index.php\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}