<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Linuxにroot ユーザーのログインをロックします。 sudo usermod -L root shadowで止めるだけ。 sudo vipw -s で確認 (パス無効化状態)ロックをするとか書いたけれど、パスワードを無効にした。 単純にパスワードを絶対に通らないパスワードにしたということである。 元の状態 元の状態に戻すには。 usermod -U root(093e1b4f773068c4467d1c19721dccdc) 元通りです。 man usermod によると -L ユーザのパスワードをロックする。 これは暗号化されたパスワードの前に '!' を追加し、 実質的にパスワードを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F20120828%2F1346186699&quot; title=&quot;root ユーザーのログインをロックする - それマグで！&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/takuya_1st/20120829/20120829053518.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-28 05:44:59</published>
  <title>root ユーザーのログインをロックする</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/20120828/1346186699</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
