<?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: sync password between 2 servers in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685566#M42130</link>
    <description>I don't know how but I heard that one of my partners those that work with you but you never see lol have done this sync on AIX...no idea how since we don't have NIS or LDAP&lt;BR /&gt;&lt;BR /&gt;I will continue searching</description>
    <pubDate>Sat, 11 Sep 2010 23:38:47 GMT</pubDate>
    <dc:creator>KarloChacon</dc:creator>
    <dc:date>2010-09-11T23:38:47Z</dc:date>
    <item>
      <title>sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685561#M42125</link>
      <description>hi guys&lt;BR /&gt;I am creating a script a for Linux cluster based on Linux Heartbeat - HA....&lt;BR /&gt;&lt;BR /&gt;basically I am creating a script where a user must sync his password on the 2 boxes...I mean when password for Carlos is changed on NODE01 it ill replicate on NODE02...this is where I am stuck how to replicate that.... the only thing that came to my mind was&lt;BR /&gt;create a scritp&lt;BR /&gt;something like this&lt;BR /&gt;&lt;BR /&gt;echo "Please change your password"&lt;BR /&gt;passwd&lt;BR /&gt;echo "now change passwd on NODE02"&lt;BR /&gt;ssh node01 passwd&lt;BR /&gt;&lt;BR /&gt;but it won't ask me for my password after ssh to NODE02 the script won't run...&lt;BR /&gt;&lt;BR /&gt;any idea how to sync password on both nodes or how to fix my script?&lt;BR /&gt;&lt;BR /&gt;thanks a lot&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685561#M42125</guid>
      <dc:creator>KarloChacon</dc:creator>
      <dc:date>2010-09-10T19:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685562#M42126</link>
      <description>Whenever you specify a remote command on the ssh command line, the remote session will run in "non-interactive mode": the remote sshd won't allocate a pseudo-TTY for the session. This causes programs and commands which explicitly require to read/write the TTY to fail. The "passwd" command is one of these (it will explicitly read the password from the TTY to defeat any input redirection).&lt;BR /&gt;&lt;BR /&gt;Your script could be fixed by adding the "-t" option to the ssh command line. This option will make the ssh command request a remote TTY for non-interactive sessions too. In other words:&lt;BR /&gt;&lt;BR /&gt;echo "Please change your password"&lt;BR /&gt;passwd&lt;BR /&gt;echo "now change passwd on NODE02"&lt;BR /&gt;ssh -t node01 passwd&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 11 Sep 2010 07:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685562#M42126</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-09-11T07:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685563#M42127</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] how to sync password [...]&lt;BR /&gt;&lt;BR /&gt;Have you considered using something like NIS?</description>
      <pubDate>Sat, 11 Sep 2010 17:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685563#M42127</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-09-11T17:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685564#M42128</link>
      <description>would NIS the only solution here?&lt;BR /&gt;&lt;BR /&gt;I'm afraid yes</description>
      <pubDate>Sat, 11 Sep 2010 19:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685564#M42128</guid>
      <dc:creator>KarloChacon</dc:creator>
      <dc:date>2010-09-11T19:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685565#M42129</link>
      <description>&lt;!--!*#--&gt;&amp;gt; would NIS the only solution here?&lt;BR /&gt;&lt;BR /&gt;There are probably others.  LDAP (about which&lt;BR /&gt;I know nothing)?  NIS lets a user change his&lt;BR /&gt;password once for all systems.  It probably&lt;BR /&gt;has some disadvantages, too, but I'd expect&lt;BR /&gt;it to work pretty well.&lt;BR /&gt;&lt;BR /&gt;I suspect that a Web search for keywords&lt;BR /&gt;like, say,&lt;BR /&gt;      password synchonize&lt;BR /&gt;would probably find many shell scripts and/or&lt;BR /&gt;programs intended to deal with this problem&lt;BR /&gt;for various environments.  I'd expect NIS to&lt;BR /&gt;be more reliable than most of them.</description>
      <pubDate>Sat, 11 Sep 2010 21:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685565#M42129</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-09-11T21:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685566#M42130</link>
      <description>I don't know how but I heard that one of my partners those that work with you but you never see lol have done this sync on AIX...no idea how since we don't have NIS or LDAP&lt;BR /&gt;&lt;BR /&gt;I will continue searching</description>
      <pubDate>Sat, 11 Sep 2010 23:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685566#M42130</guid>
      <dc:creator>KarloChacon</dc:creator>
      <dc:date>2010-09-11T23:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685567#M42131</link>
      <description>question&lt;BR /&gt;&lt;BR /&gt;checking on a NIS configuration &lt;BR /&gt;&lt;BR /&gt;do I need DNS configure for NIS to work since I see a domain name is needed?&lt;BR /&gt;&lt;BR /&gt;thanks a lot</description>
      <pubDate>Sun, 12 Sep 2010 01:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685567#M42131</guid>
      <dc:creator>KarloChacon</dc:creator>
      <dc:date>2010-09-12T01:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: sync password between 2 servers</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685568#M42132</link>
      <description>&lt;!--!*#--&gt;&amp;gt; checking on a NIS configuration&lt;BR /&gt;&lt;BR /&gt;I seem not to have NIS installed on my Debian&lt;BR /&gt;systems, so I know nothing, but on HP-UX,&lt;BR /&gt;these help:&lt;BR /&gt;&lt;BR /&gt;      man -k nis&lt;BR /&gt;      man -k yp&lt;BR /&gt;      man domainname&lt;BR /&gt;&lt;BR /&gt;&amp;gt; do I need DNS configure for NIS to work&lt;BR /&gt;&amp;gt; since I see a domain name is needed?&lt;BR /&gt;&lt;BR /&gt;Probably not.  An NIS domain name is entirely&lt;BR /&gt;independent of a DNS domain name.  An NIS&lt;BR /&gt;domain name is simply a character string.  It&lt;BR /&gt;may contain dots, but there's no hierarchy&lt;BR /&gt;as there is with DNS.  (Some NIS&lt;BR /&gt;implementations may have problems if DNS is&lt;BR /&gt;not used, too.  I don't know if your Linux&lt;BR /&gt;has any problems in that case.)  If you&lt;BR /&gt;want, you can normally use a DNS domain name&lt;BR /&gt;as an NIS domain name, but it's not&lt;BR /&gt;necessary to do so (and, as "man domainname"&lt;BR /&gt;explains) there may be tighter name length&lt;BR /&gt;restrictions for an NIS name than for a DNS&lt;BR /&gt;name).</description>
      <pubDate>Sun, 12 Sep 2010 23:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sync-password-between-2-servers/m-p/4685568#M42132</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-09-12T23:25:18Z</dc:date>
    </item>
  </channel>
</rss>

