<?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: copy users to another machine in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883925#M101587</link>
    <description>Instead of copying /etc/passwd and /etc/group, Id recommend that you view the 2 files and compare them to the other machine.  Subtle differences in several things may cause unexpected problems.  I.E.  /etc/publickey, different root passwords, paths, etc...&lt;BR /&gt;&lt;BR /&gt;The Home directory for the users is the 2nd to last string in /etc/passwd.  &lt;BR /&gt;&lt;BR /&gt;Use the directory and make tar files of users home directories and then extract them on the other system.&lt;BR /&gt;&lt;BR /&gt;If the reason you are doing this is to have common usernames and passwords on multiple systems, I'd recommend that you install/configure NIS.&lt;BR /&gt;&lt;BR /&gt;You can achieve the server setup and client connections with SAM very easily.  SAM -&amp;gt; Networking and Communications -&amp;gt; NIS&lt;BR /&gt;&lt;BR /&gt;Configure the seat with all the user data as the NIS Master server, use the same utility on clients and configure them as NIS clients.&lt;BR /&gt;&lt;BR /&gt;Add to this using SAM -&amp;gt; Networking and Communications -&amp;gt; NFS (Networking File System).&lt;BR /&gt;&lt;BR /&gt;Export the Home directory location from the server, use the same panels to Mount the remote file system in the exact same spot on each client.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Thu, 16 Jan 2003 20:13:04 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2003-01-16T20:13:04Z</dc:date>
    <item>
      <title>copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883922#M101584</link>
      <description>We have 2 identical 9000/460.  I want to copy all the users from 1 machine to the other machine.  How?  What files do I need to grab?  Is there anything in sam that has run?etc...</description>
      <pubDate>Thu, 16 Jan 2003 20:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883922#M101584</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2003-01-16T20:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883923#M101585</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;You'll need to copy /etc/passwd, /etc/group and /home/*, assuming this isn't a trusted system.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 16 Jan 2003 20:04:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883923#M101585</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-01-16T20:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883924#M101586</link>
      <description>user and group id's are a concern.&lt;BR /&gt;&lt;BR /&gt;Is either a trusted machine?&lt;BR /&gt;&lt;BR /&gt;How are you going to move the applications, crons, databases, ...???&lt;BR /&gt;&lt;BR /&gt;The use of "sam" will depend upon what you need to do.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 16 Jan 2003 20:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883924#M101586</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-01-16T20:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883925#M101587</link>
      <description>Instead of copying /etc/passwd and /etc/group, Id recommend that you view the 2 files and compare them to the other machine.  Subtle differences in several things may cause unexpected problems.  I.E.  /etc/publickey, different root passwords, paths, etc...&lt;BR /&gt;&lt;BR /&gt;The Home directory for the users is the 2nd to last string in /etc/passwd.  &lt;BR /&gt;&lt;BR /&gt;Use the directory and make tar files of users home directories and then extract them on the other system.&lt;BR /&gt;&lt;BR /&gt;If the reason you are doing this is to have common usernames and passwords on multiple systems, I'd recommend that you install/configure NIS.&lt;BR /&gt;&lt;BR /&gt;You can achieve the server setup and client connections with SAM very easily.  SAM -&amp;gt; Networking and Communications -&amp;gt; NIS&lt;BR /&gt;&lt;BR /&gt;Configure the seat with all the user data as the NIS Master server, use the same utility on clients and configure them as NIS clients.&lt;BR /&gt;&lt;BR /&gt;Add to this using SAM -&amp;gt; Networking and Communications -&amp;gt; NFS (Networking File System).&lt;BR /&gt;&lt;BR /&gt;Export the Home directory location from the server, use the same panels to Mount the remote file system in the exact same spot on each client.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 16 Jan 2003 20:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883925#M101587</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-16T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883926#M101588</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;i will not recommend you to copy just the /etc/passwd and the /etc/group files and /home because of the issue of the user id's and primission on files .&lt;BR /&gt;&lt;BR /&gt;i will recommend to use a script to add the user . &lt;BR /&gt;&lt;BR /&gt;if you home dir is a nfs system you will need to add on both system the same userid on both computer . &lt;BR /&gt;&lt;BR /&gt;here is a replt that my help you on this issue :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb31157bd90a9d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb31157bd90a9d611abdb0090277a778c,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 16 Jan 2003 20:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883926#M101588</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2003-01-16T20:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883927#M101589</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;Follow these steps.&lt;BR /&gt;&lt;BR /&gt;1) Copy the /etc/passwd &amp;amp; /etc/group on the other system. Diff on the original and add the new ones only&lt;BR /&gt;&lt;BR /&gt;2) I have my home directories for all users under /home/systemname. If you have something like that, you can run this command from the 1st system assuming that you have NIS working. Create a default home directory location and place all users under that on the 2nd system.&lt;BR /&gt;&lt;BR /&gt;cd /home/systemname(where all home directories are placed)&lt;BR /&gt;&lt;BR /&gt;tar -cf - * | remsh destinationserver "cd /home/systemname; tar -xf -"&lt;BR /&gt;&lt;BR /&gt;3) Make sure, that the directory permissions are fine. Normally, there should not be any issue for you as the directory permissions are retained with their current ownerships.&lt;BR /&gt;&lt;BR /&gt;-Anil</description>
      <pubDate>Thu, 16 Jan 2003 20:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883927#M101589</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2003-01-16T20:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883928#M101590</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;As you can tell from the variety of answers you're getting - it depends on the situation and what you're trying to accomplish.  If you're setting up a brand new machine and want to migrate to it, then the simple approach of just copying passwd, groups and home directories would suffice.  If you're merging machines, it becomes more complicated.  &lt;BR /&gt;&lt;BR /&gt;More info would probably help immensely.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 16 Jan 2003 20:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883928#M101590</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-01-16T20:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: copy users to another machine</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883929#M101591</link>
      <description>I am just setting up a new machine or redoing an existing maching that wasn't being used.  I've tarred up the home directories, /etc/paswd and /etc/group, moved them over and everything worked fine.  Thanks.</description>
      <pubDate>Thu, 16 Jan 2003 21:26:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-users-to-another-machine/m-p/2883929#M101591</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2003-01-16T21:26:01Z</dc:date>
    </item>
  </channel>
</rss>

