<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ruicc</author_name>
  <author_url>https://blog.hatena.ne.jp/ruicc/</author_url>
  <blog_title>think and error</blog_title>
  <blog_url>https://ruicc.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>うわーいやっほーう。とか思ったけどシングルユーザモードには入れたので(shell確認してなかった。/bin/shかな)、/etc/passwd書き換えて終わり。 まあそもそもrootのログインシェル変更は推奨されてないらし。 取り合えずchsh使うときは-sで直接指定しない方がよいね。 $ chsh として対話的に変更するとよいよ。不正チェックしてくれるから。 使用可能なシェルは/etc/shellsに書いてある。 まあアンチパターンて書くときりないよな。どの分野でも。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fruicc.hatenablog.jp%2Fentry%2F20090321%2F1237661830&quot; title=&quot;rootでchsh間違えた - think and error&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-21 03:57:10</published>
  <title>rootでchsh間違えた</title>
  <type>rich</type>
  <url>https://ruicc.hatenablog.jp/entry/20090321/1237661830</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
