<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>コマンド</anon>
    <anon>コマンド-useradd</anon>
  </categories>
  <description>久々に開発環境を一からセットアップしたので、ユーザの追加方法をここにメモします。 作成手順 root ユーザになる $ sudo su - ユーザ追加 # useradd -m &lt;ユーザ名&gt;「-m」オプションはユーザのホームディレクトリを作成してくれるオプションです。 指定しない場合は、ディストリビューションやバージョンによってはホームディレクトリを作成してくれない場合があるそうです。 パスワード設定 # passwd &lt;ユーザ名&gt;ユーザ名で指定したユーザのパスワードを設定します。 確認 # getent passwd|grep &lt;ユーザ名&gt; &lt;ユーザ名&gt;:x:1001:1001::/home…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2022%2F09%2F22%2F163323&quot; title=&quot;Linux のユーザ追加について - ものづくりのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-22 16:33:23</published>
  <title>Linux のユーザ追加について</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2022/09/22/163323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
