{"provider_name":"Hatena Blog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917","blog_title":"\u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/a1026302/","width":"100%","url":"https://a1026302.hatenablog.com/entry/2022/09/22/163323","categories":["\u30b3\u30de\u30f3\u30c9","\u30b3\u30de\u30f3\u30c9-useradd"],"author_name":"a1026302","title":"Linux \u306e\u30e6\u30fc\u30b6\u8ffd\u52a0\u306b\u3064\u3044\u3066","version":"1.0","published":"2022-09-22 16:33:23","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2022%2F09%2F22%2F163323\" title=\"Linux \u306e\u30e6\u30fc\u30b6\u8ffd\u52a0\u306b\u3064\u3044\u3066 - \u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://a1026302.hatenablog.com/","description":"\u4e45\u3005\u306b\u958b\u767a\u74b0\u5883\u3092\u4e00\u304b\u3089\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u306e\u3067\u3001\u30e6\u30fc\u30b6\u306e\u8ffd\u52a0\u65b9\u6cd5\u3092\u3053\u3053\u306b\u30e1\u30e2\u3057\u307e\u3059\u3002 \u4f5c\u6210\u624b\u9806 root \u30e6\u30fc\u30b6\u306b\u306a\u308b $ sudo su - \u30e6\u30fc\u30b6\u8ffd\u52a0 # useradd -m <\u30e6\u30fc\u30b6\u540d>\u300c-m\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30e6\u30fc\u30b6\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002 \u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3084\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u305d\u3046\u3067\u3059\u3002 \u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a # passwd <\u30e6\u30fc\u30b6\u540d>\u30e6\u30fc\u30b6\u540d\u3067\u6307\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u78ba\u8a8d # getent passwd|grep <\u30e6\u30fc\u30b6\u540d> <\u30e6\u30fc\u30b6\u540d>:x:1001:1001::/home\u2026","type":"rich","provider_url":"https://hatena.blog","height":"190"}