<?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: User creation in multiple server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675492#M20690</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;LDAP / NIS , we cannot implement.&lt;BR /&gt;&lt;BR /&gt;With the existing setup is there any way ?.  &lt;BR /&gt;&lt;BR /&gt;Is there any perl script which can do this job efficiently ?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;sivakumar p.</description>
    <pubDate>Tue, 22 Nov 2005 01:47:57 GMT</pubDate>
    <dc:creator>joinsiva</dc:creator>
    <dc:date>2005-11-22T01:47:57Z</dc:date>
    <item>
      <title>User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675487#M20685</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am facing problem in setting password, when i create a user in multiple server.  Can anybody help me in acheiving this in script.&lt;BR /&gt;&lt;BR /&gt;All my servers are linux.&lt;BR /&gt;&lt;BR /&gt;can any body help.&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;siva</description>
      <pubDate>Mon, 21 Nov 2005 01:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675487#M20685</guid>
      <dc:creator>joinsiva</dc:creator>
      <dc:date>2005-11-21T01:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675488#M20686</link>
      <description>For such script, you need to have a remsh/ssh enabled for those server. But why create in all server?? Create it in one server and copy those changes to all servers.&lt;BR /&gt;&lt;BR /&gt;1. create user on server 1&lt;BR /&gt;2. grep -i user /etc/passwd &amp;gt; /tmp/new-user&lt;BR /&gt;3. remsh/ssh if enabled,&lt;BR /&gt;4. for i in serverb serverc&lt;BR /&gt;do&lt;BR /&gt;ssh -q $i 'cp /etc/passwd /etc/passwd.bak'&lt;BR /&gt;cat /tmp/new-user | ssh -q $i 'cat - &amp;gt;&amp;gt; /etc/passwd'&lt;BR /&gt;&lt;BR /&gt;This should do it. Backup files before you start. The scipt not tested.</description>
      <pubDate>Mon, 21 Nov 2005 01:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675488#M20686</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-21T01:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675489#M20687</link>
      <description>Perhaps you might want to implement an LDAP or NIS solution.&lt;BR /&gt;&lt;BR /&gt;Create users on one Linux server, all other users authenticate to that server.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fdocs.hp.com%2Fen%2FT1417-90009%2Fch05s03.html%26qt%3D%2BHP-UX%2BLdap%2Bconfiguration%26hit%3D1&amp;amp;aid=SEARCH_MANUAL&amp;amp;pil=1&amp;amp;serStr=HP-UX+Ldap+configuration" target="_blank"&gt;http://www2.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fdocs.hp.com%2Fen%2FT1417-90009%2Fch05s03.html%26qt%3D%2BHP-UX%2BLdap%2Bconfiguration%26hit%3D1&amp;amp;aid=SEARCH_MANUAL&amp;amp;pil=1&amp;amp;serStr=HP-UX+Ldap+configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Nov 2005 02:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675489#M20687</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-11-21T02:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675490#M20688</link>
      <description>You should implement LDAP or NIS+ (NIS works good is considered insecure nowdays). With these directory servers, you create users in just one location and is available to all servers that authenticate against the server.&lt;BR /&gt;&lt;BR /&gt;Or, you must copy the /etc/passwd and /etc/shadow entry for every new user on each server (too much effort).</description>
      <pubDate>Mon, 21 Nov 2005 06:45:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675490#M20688</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-11-21T06:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675491#M20689</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply.  I tried copying the shadow file password string, from one server to other server.  It worked in one server with the same password.  But in other it has not worked.&lt;BR /&gt;&lt;BR /&gt;Finally,  i used mkpasswd command (in linux) which is like modprpw -x (in hpux trusted system ) , which generates a random password for the user. and i captured the text.&lt;BR /&gt;&lt;BR /&gt;still if somebody can help in writing a better script, where we can set our own password, it will be great.  becoz copying the string, doesnot working across different version of OS it seems.</description>
      <pubDate>Tue, 22 Nov 2005 01:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675491#M20689</guid>
      <dc:creator>joinsiva</dc:creator>
      <dc:date>2005-11-22T01:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: User creation in multiple server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675492#M20690</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;LDAP / NIS , we cannot implement.&lt;BR /&gt;&lt;BR /&gt;With the existing setup is there any way ?.  &lt;BR /&gt;&lt;BR /&gt;Is there any perl script which can do this job efficiently ?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;sivakumar p.</description>
      <pubDate>Tue, 22 Nov 2005 01:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/user-creation-in-multiple-server/m-p/3675492#M20690</guid>
      <dc:creator>joinsiva</dc:creator>
      <dc:date>2005-11-22T01:47:57Z</dc:date>
    </item>
  </channel>
</rss>

