<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>ユーザ作成と一時的使用のパスワードを発行するのが面倒なので、自動生成するスクリプトの作業履歴。 そのうちexpireとか機能追加しないと。 #!/usr/bin/ruby require 'etc' # salt def getRandomString (length = 15) source=(&quot;a&quot;..&quot;z&quot;).to_a + (&quot;A&quot;..&quot;Z&quot;).to_a + (0..9).to_a + [&quot;_&quot;,&quot;-&quot;,&quot;.&quot;] key=&quot;&quot; length.times{ key+= source[rand(source.size)].to_s } return key end username = AR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20080919%2F1221850013&quot; title=&quot; UNIXのユーザ作成 - harry’s memorandum&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>2008-09-19 03:46:53</published>
  <title> UNIXのユーザ作成</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20080919/1221850013</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
