<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naskin</author_name>
  <author_url>https://blog.hatena.ne.jp/naskin/</author_url>
  <blog_title>We All Get Old - Naskin Diary</blog_title>
  <blog_url>https://naskin-diary.hatenablog.com/</blog_url>
  <categories>
    <anon>八苦(hack)</anon>
  </categories>
  <description>新しいメールサーバに移項することになったのだが旧メールサーバから /etc/passwd を入手できなかったので、メールアドレス一覧からユーザを 新サーバに追加する羽目に。 20人もいないので newusers コマンドに渡すファイルを手書きしても良いのだが ついつい作ってしまった。 #!/bin/sh # ユーザ名一覧から newusers コマンドに読み込ませるファイルを作成するシェル UID=500 GID=500 PASSWORD=password INPUT=/tmp/input.txt for u in `/bin/cat ${INPUT}` do # UID は 1回ずつインクリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaskin-diary.hatenablog.com%2Fentry%2F20070621%2F1182437232&quot; title=&quot; newusers で使うファイルを生成するシェルスクリプト(Linux) - We All Get Old - Naskin Diary&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>2007-06-21 23:47:12</published>
  <title> newusers で使うファイルを生成するシェルスクリプト(Linux)</title>
  <type>rich</type>
  <url>https://naskin-diary.hatenablog.com/entry/20070621/1182437232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
