<?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: migrating user accounts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763450#M259889</link>
    <description>ty both.</description>
    <pubDate>Fri, 31 Mar 2006 15:03:34 GMT</pubDate>
    <dc:creator>A Pandey</dc:creator>
    <dc:date>2006-03-31T15:03:34Z</dc:date>
    <item>
      <title>migrating user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763446#M259885</link>
      <description>hi folks,&lt;BR /&gt;&lt;BR /&gt;i am trying to migrate 500 user accounts from the main HPUX 11.00 box to a backup solaris 9 box which needs /etc/passwd /etc/shadow and /etc/group.&lt;BR /&gt;&lt;BR /&gt;on the HPUX i have only /etc/passwd and /etc/group...&lt;BR /&gt;&lt;BR /&gt;what can i dow for /etc/shadow?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;abhimanyu.&lt;BR /&gt;&lt;BR /&gt;p.s. something to do with trusted system?</description>
      <pubDate>Fri, 31 Mar 2006 14:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763446#M259885</guid>
      <dc:creator>A Pandey</dc:creator>
      <dc:date>2006-03-31T14:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: migrating user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763447#M259886</link>
      <description>Going from HP to SUN you will probably need to run through the useradd command.&lt;BR /&gt;&lt;BR /&gt;cat out the passwd file and get specific fields such as the acct name, the UID, the GID, etc. (You want to keep the same UID/GID?)&lt;BR /&gt;cat /etc/passwd | awk -F: {print $1, $2, $3, $4, $5, $6, $7}' &amp;gt; /tmp/addusers This file will now have 6 fields separated by white space.&lt;BR /&gt;&lt;BR /&gt;You can use this output to feed into the useradd command on the SUN.&lt;BR /&gt;&lt;BR /&gt;Put this file on the SUN box.&lt;BR /&gt;cat /tmp/addusers | while read line&lt;BR /&gt;do&lt;BR /&gt;useradd -u $3 -g $4 -d $6 -s $7 -c "$5" $1&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This will create the /etc/shadow file for you on the SUN. &lt;BR /&gt;&lt;BR /&gt;Double check the syntax for a SUN box.&lt;BR /&gt;You can add more options to the SUN command such as -m, -k /etc/skel, etc&lt;BR /&gt;&lt;BR /&gt;This is not transferring the passwds. You can take the encrypted passwds from HP and use on SUN.</description>
      <pubDate>Fri, 31 Mar 2006 14:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763447#M259886</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-03-31T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: migrating user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763448#M259887</link>
      <description>A much simpler approach that might work is to copy the passwd entries for the users from HP-UX (assuming it's not Trusted so the hashed passwords are contained in it) to Solaris... append them to the existing Solaris /etc/passwd file most likely. Then run pwconv on Solaris. On HP-UX pwconv converts the normal entries in /etc/passwd to Trusted entries with appropriate auth files under /tcb. On Linux (and I presume Solaris), it converts to and from shadow passwords.</description>
      <pubDate>Fri, 31 Mar 2006 14:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763448#M259887</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-03-31T14:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: migrating user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763449#M259888</link>
      <description>Yep I do practise like jeff said.. &lt;BR /&gt;Take it to Solaris box, update password file.. and run pwconv.. &lt;BR /&gt;Thx&lt;BR /&gt;Prashant</description>
      <pubDate>Fri, 31 Mar 2006 14:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763449#M259888</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-03-31T14:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: migrating user accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763450#M259889</link>
      <description>ty both.</description>
      <pubDate>Fri, 31 Mar 2006 15:03:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/migrating-user-accounts/m-p/3763450#M259889</guid>
      <dc:creator>A Pandey</dc:creator>
      <dc:date>2006-03-31T15:03:34Z</dc:date>
    </item>
  </channel>
</rss>

