<?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: Syncing Passwords on 2 servers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165339#M903178</link>
    <description>Marty,&lt;BR /&gt;&lt;BR /&gt;Ah, the User ID Number (UID)!  If you're copying the passwd file (and the group file) from one machine to the other, they'll be identical, as will the UID numbers.  Or am I missing something (I'm not really familiar with rsync/ssh).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 15 Jan 2004 11:16:58 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-01-15T11:16:58Z</dc:date>
    <item>
      <title>Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165331#M903170</link>
      <description>I am lucky to have a standby server with a standby database the is kept in sync with in an hour. If I hav a falure on the Main server I can change over in 15-30 minutes.&lt;BR /&gt;The only thing I am not in sync is the the unix users.&lt;BR /&gt;Both are HPUX 11.0 servers and are non trusted systems.&lt;BR /&gt;I control the new users and the users change there own passwords.&lt;BR /&gt;Is there a way to keep the users and passwords in sync while only maintening one server?&lt;BR /&gt;&lt;BR /&gt;Marty, Doer of Things&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2004 10:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165331#M903170</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T10:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165332#M903171</link>
      <description>Marty,&lt;BR /&gt;&lt;BR /&gt;There's NIS and NIS+.  They'll do the job but can be complicated in and of themselves and also complicate other things.  Another simple technique would be to regulary copy the password file from the main server to the standby.  You could use cron, even, to do it once an hour, once a day, whatever!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 10:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165332#M903171</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165333#M903172</link>
      <description>Pete,&lt;BR /&gt;I am already using rsync/ssh to keep most thing up to date.&lt;BR /&gt;If it us rsync to keep the passwd file synced is there any thing I should do to make sure the PID numbers are the same for the system stuff?&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 15 Jan 2004 11:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165333#M903172</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T11:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165334#M903173</link>
      <description>NIS will work, as will copying the passwd file.&lt;BR /&gt;&lt;BR /&gt;Many organizations shy away from NIS due to the complexity.&lt;BR /&gt;&lt;BR /&gt;Another alternative would be to make the main server an LDAP server and have the offline server be an LDAP client.&lt;BR /&gt;&lt;BR /&gt;Then the only authentications that will be out of synch would be root, which should be different anyway.&lt;BR /&gt;&lt;BR /&gt;I think many organizations are moving toward LDAP because they can also handle Microsoft authentication in such a setup.&lt;BR /&gt;&lt;BR /&gt;Another alternative, not as easy as Pete's but possibly a good route nonetheless.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Jan 2004 11:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165334#M903173</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-15T11:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165335#M903174</link>
      <description>I have used the /etc/password replication(as posted above) in the past in the same situation. Be aware that you also need to replicatte the homedirectories of the user (can also be done using cron and for exmpl NFS shares)&lt;BR /&gt;Copy also /etc/group if you add groups on the main server. If you use /etc/ftpusers copy this file aswell.&lt;BR /&gt;&lt;BR /&gt;REgards,&lt;BR /&gt;&lt;BR /&gt;Peter Geluk</description>
      <pubDate>Thu, 15 Jan 2004 11:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165335#M903174</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-01-15T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165336#M903175</link>
      <description>sorry typo: I mean /etc/passwd</description>
      <pubDate>Thu, 15 Jan 2004 11:06:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165336#M903175</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-01-15T11:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165337#M903176</link>
      <description>Marty,&lt;BR /&gt;&lt;BR /&gt;What do you mean by the "PID numbers"?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 11:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165337#M903176</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165338#M903177</link>
      <description>In the passwd file like&lt;BR /&gt;metm:aRCxNJfnIXEmA:103:102:Marty....&lt;BR /&gt;the 103,102  UsedID#, and GroupID#&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 15 Jan 2004 11:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165338#M903177</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165339#M903178</link>
      <description>Marty,&lt;BR /&gt;&lt;BR /&gt;Ah, the User ID Number (UID)!  If you're copying the passwd file (and the group file) from one machine to the other, they'll be identical, as will the UID numbers.  Or am I missing something (I'm not really familiar with rsync/ssh).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 11:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165339#M903178</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165340#M903179</link>
      <description>Hi Marty,&lt;BR /&gt;&lt;BR /&gt;If all you're dealing with here is 2 systems then a simple cronned rcp/scp will do.&lt;BR /&gt;But beyond the /etc/passwd file I'd also copy the /etc/group file, the /home dir as well as the /tcb dir structure if trusted.&lt;BR /&gt;That way *everything* would be in sync.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 15 Jan 2004 11:21:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165340#M903179</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-15T11:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165341#M903180</link>
      <description>I thought the UID and Group ID numbers was what the system used for the files so it knew who owned the files.&lt;BR /&gt;Say a file was owned be user METM and Group VISIB. In the passwd file these are 102,103.&lt;BR /&gt;Does the system uses the numbers or the names to keep things straight.&lt;BR /&gt;Meaning if I copy the passwd file to the Standby server and the UID Nos do not match will this be a problem now. Right now some of then do not match on the 2 servers.&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 15 Jan 2004 11:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165341#M903180</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165342#M903181</link>
      <description>I under stannd the passwd, group, userso home must be coppied I'm just confused about the Passwd file and the UID numbers. It might not be an issue. It is just because right now they do not match.&lt;BR /&gt;Marty&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2004 11:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165342#M903181</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165343#M903182</link>
      <description>If the numbers do not match on both servers, the ownership of files can change after copy etc/passwd. It uses the UID's to keep track of the ownerships.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Thu, 15 Jan 2004 11:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165343#M903182</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-01-15T11:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165344#M903183</link>
      <description>Everything in the system is done by the UID - which then looks up the name out of the passwd file. If no match then only the # is displayed.&lt;BR /&gt;You *must* match UID &amp;lt;=&amp;gt; name between systems. BUT this would be accomplished on the first copy anyway. But it's also possible that then you'll have files owned by now non-existent UIDS &amp;amp; you'd have to find &amp;amp; change them all. So map out the name to UID before changing so you know what to change &amp;amp; to whom.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 15 Jan 2004 11:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165344#M903183</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-15T11:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165345#M903184</link>
      <description>The issue with UIDs then, would be that existing files are owned by UID 1234 (Marty) for example.  After copying, the files would be still be owned by UID 1234 and this would not translate to Marty.  You'll need to set up a one time chown script either going by home directory or using find -user to straighten the ownership out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 11:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165345#M903184</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T11:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165346#M903185</link>
      <description>OK, I understand now.&lt;BR /&gt;I have to make the Standby servers UID match the Primary served first. Most match now.&lt;BR /&gt;If I understand your messages, I can change the UID's that do not match on the standby box and change the ownership on the few files that they own.&lt;BR /&gt;Once done, I should beable to copy the passwd, group and User's directories and I should be set to keeping then in sync.&lt;BR /&gt;&lt;BR /&gt;Marty &lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jan 2004 13:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165346#M903185</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165347#M903186</link>
      <description>Absolutely - you have it down now.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 15 Jan 2004 13:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165347#M903186</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-15T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165348#M903187</link>
      <description>Yep, you've got it, O Mighty Doer of Things!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 13:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165348#M903187</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T13:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165349#M903188</link>
      <description>Thanks guys.&lt;BR /&gt;Again you have cleared up my thoughts.&lt;BR /&gt;You have saved me more work. That is right after I do some more things.&lt;BR /&gt;Marty</description>
      <pubDate>Thu, 15 Jan 2004 13:51:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165349#M903188</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2004-01-15T13:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Syncing Passwords on 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165350#M903189</link>
      <description>Marty,&lt;BR /&gt;&lt;BR /&gt;I had one last thought:  I don't think my suggestion about the find command will work so you'll need to do it either by home directory or by pre-building a list of files for each user (the find command could be used for this, though).&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Jan 2004 13:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syncing-passwords-on-2-servers/m-p/3165350#M903189</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-15T13:59:35Z</dc:date>
    </item>
  </channel>
</rss>

