<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mass user migration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627377#M236919</link>
    <description>You might also want to consider "cron" and "at" jobs, files outside of /home, unix email and other such things if you're doing a user migration.</description>
    <pubDate>Fri, 16 Sep 2005 08:37:06 GMT</pubDate>
    <dc:creator>Baz_2</dc:creator>
    <dc:date>2005-09-16T08:37:06Z</dc:date>
    <item>
      <title>Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627371#M236913</link>
      <description>To all,&lt;BR /&gt;&lt;BR /&gt;Is there an HP-UX equivalent to the MPE/ix BULDACCT process which allows for the mass replication of user-ids and attributes? My company is looking to migrate up to 40,000 user-ids and would like to not have to do a whole lot of data entry...&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, &lt;BR /&gt;&lt;BR /&gt;Chuck Ciesinski</description>
      <pubDate>Thu, 15 Sep 2005 15:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627371#M236913</guid>
      <dc:creator>Chuck Ciesinski</dc:creator>
      <dc:date>2005-09-15T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627372#M236914</link>
      <description>There are no such built-in command.&lt;BR /&gt;What exactly are you trying to do? I'm sure it can be done with a not very complicated script.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Thu, 15 Sep 2005 15:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627372#M236914</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-15T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627373#M236915</link>
      <description>I would just do-&lt;BR /&gt; &lt;BR /&gt;cd /home&lt;BR /&gt;tar cf /tmp/home.tar .&lt;BR /&gt; &lt;BR /&gt;then copy /etc/passwd, /etc/group and /tmp/home.tar to the new computer. Then restore the home directories and that should do it.&lt;BR /&gt; &lt;BR /&gt;Unless you are on a trusted systems, then you have to include the other support files.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 15 Sep 2005 15:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627373#M236915</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-09-15T15:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627374#M236916</link>
      <description>I'd do this.&lt;BR /&gt;&lt;BR /&gt;Copy the /etc/passwd file from the old server&lt;BR /&gt;to /somedir/userinfo on the new server&lt;BR /&gt;&lt;BR /&gt;created a script like this.&lt;BR /&gt;&lt;BR /&gt;cat /somedir/userinfo |while read line&lt;BR /&gt;do&lt;BR /&gt;USER=$(echo $line|awk '{FS=":";print $1}')&lt;BR /&gt;PASS=$(echo $line|awk '{FS=":";print $2}')&lt;BR /&gt;USERID=$(echo $line|awk '{FS=":";print $3}')&lt;BR /&gt;GID=$(echo $line|awk '{FS=":";print $4}')&lt;BR /&gt;INFO=$(echo $line|awk '{FS=":";print $5}')&lt;BR /&gt;HOME=$(echo $line|awk '{FS=":";print $6}')&lt;BR /&gt;SHELL=$(echo $line|awk '{FS=":";print $7}')&lt;BR /&gt;echo "Adding $USER"&lt;BR /&gt;useradd -u $USERID -g $GID -s $SHELL -c "$INFO" -o -m -k /etc/skel -d $HOME $USER&lt;BR /&gt;/usr/sam/lbin/usermod.sam -p`echo "$PASS"` $USER&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Run the script and your done&lt;BR /&gt;&lt;BR /&gt;Home dirs will be the same.&lt;BR /&gt;UIDs will be the same.&lt;BR /&gt;Shells will be the same.&lt;BR /&gt;Groups will be the same.&lt;BR /&gt;Passwords will be the same.&lt;BR /&gt;Even any comments will be the same.&lt;BR /&gt;&lt;BR /&gt;then restore their home dirs on the new server&lt;BR /&gt;&lt;BR /&gt;Have fun</description>
      <pubDate>Thu, 15 Sep 2005 16:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627374#M236916</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2005-09-15T16:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627375#M236917</link>
      <description>$HOME $USER&lt;BR /&gt;&lt;BR /&gt;Should be on the same line as the useradd command right after the -d</description>
      <pubDate>Thu, 15 Sep 2005 16:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627375#M236917</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2005-09-15T16:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627376#M236918</link>
      <description>&lt;BR /&gt;See the following HP-UX link. It provides tool &amp;amp; instruction also.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/J2716-90046/ch04.html?btnPrev=%AB%A0prev" target="_blank"&gt;http://docs.hp.com/en/J2716-90046/ch04.html?btnPrev=%AB%A0prev&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 23:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627376#M236918</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-09-15T23:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mass user migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627377#M236919</link>
      <description>You might also want to consider "cron" and "at" jobs, files outside of /home, unix email and other such things if you're doing a user migration.</description>
      <pubDate>Fri, 16 Sep 2005 08:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mass-user-migration/m-p/3627377#M236919</guid>
      <dc:creator>Baz_2</dc:creator>
      <dc:date>2005-09-16T08:37:06Z</dc:date>
    </item>
  </channel>
</rss>

