<?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: Automate user creation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528173#M221041</link>
    <description>If the requirement is to replicate the users, why not copy the /etc/passwd and /etc/group files accross to another system excluding the system logins like root, adm, lp etc..&lt;BR /&gt;&lt;BR /&gt;And if the systems are trusted then copy the /tcb files or other option is to untrust the system first and then coppy passwd and group files.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
    <pubDate>Tue, 19 Apr 2005 20:27:39 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2005-04-19T20:27:39Z</dc:date>
    <item>
      <title>Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528171#M221039</link>
      <description>Is it possible to write an useradd script that will take input from an an existing passwd file? I am trying to replicate the users I have on one box to another seven boxes with the same user info. The script should be something like:&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | while read LINE&lt;BR /&gt;do&lt;BR /&gt; useradd option option&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Not sure how to parse the passwd file to get the uid, gid, home etc. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Ali&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 18:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528171#M221039</guid>
      <dc:creator>Mohammed Ali_6</dc:creator>
      <dc:date>2005-04-19T18:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528172#M221040</link>
      <description>awk -F: should work fine for getting uid, gid, home etc.&lt;BR /&gt;Something like&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | while read LINE&lt;BR /&gt;do&lt;BR /&gt;echo $LINE | awk -F: '{print $3, $4, $6}' | \&lt;BR /&gt;    read -r gid uid home&lt;BR /&gt;useradd option option&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 18:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528172#M221040</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-04-19T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528173#M221041</link>
      <description>If the requirement is to replicate the users, why not copy the /etc/passwd and /etc/group files accross to another system excluding the system logins like root, adm, lp etc..&lt;BR /&gt;&lt;BR /&gt;And if the systems are trusted then copy the /tcb files or other option is to untrust the system first and then coppy passwd and group files.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 19 Apr 2005 20:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528173#M221041</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-04-19T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528174#M221042</link>
      <description>Rajeev,&lt;BR /&gt;&lt;BR /&gt;The systems are trusted; So copying the password file and the /tcb directory to the other systems should do the trick? What about the user's password, would that be the same on the target server?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ali</description>
      <pubDate>Tue, 19 Apr 2005 21:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528174#M221042</guid>
      <dc:creator>Mohammed Ali_6</dc:creator>
      <dc:date>2005-04-19T21:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528175#M221043</link>
      <description>Yes Mohammed, If the systems are trusted copying the /etc/passwd, /etc/group and /tcb will do the trick.&lt;BR /&gt;The users password are stored in /tcb/files/auth so all the password will remain as it was on the old system.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 19 Apr 2005 21:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528175#M221043</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-04-19T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528176#M221044</link>
      <description>Here is a bit of a " Curve ball"&lt;BR /&gt;&lt;BR /&gt;Instead of replicating the accounts on the other servers have you though about configuring NIS / NIS +&lt;BR /&gt;&lt;BR /&gt;This allows one account on the nis master and with the correct config you can have access to any other serve rin that domain.&lt;BR /&gt;&lt;BR /&gt;We use that here in one of our networks and it works well.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 19 Apr 2005 22:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528176#M221044</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2005-04-19T22:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528177#M221045</link>
      <description>Thanks for the NIS suggestion. I am also for a centralized authentication server, but unfortunately NIS is against our corporate policy (don't ask me why, I don't get it either). We are however in the process of implementing a customized LDAP solution to authenticate against Active Directory. But until that completes, I gotta do this manually :(</description>
      <pubDate>Tue, 19 Apr 2005 23:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528177#M221045</guid>
      <dc:creator>Mohammed Ali_6</dc:creator>
      <dc:date>2005-04-19T23:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528178#M221046</link>
      <description>To have all the password on all the servers synced you can actually write a script which we have done.&lt;BR /&gt;This script simply runs from /etc/profile and copies the /tcb/files/auth/?/&lt;USERNAME&gt; to all the servers when he logs in. This way you can keep the password in sync on all the trusted systems till you work on ldap or NIS solution&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 19 Apr 2005 23:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528178#M221046</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-04-19T23:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automate user creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528179#M221047</link>
      <description>A note about NIS. The main reason it is a security risk is that it transmits plaintext passwords (and other data) over the network. NIS+ encrypts the data but it is not backward compatible and many systems cannot use NIS+. Most shops that need a central authentication method are using LDAP. Locally, the questions about NIS are not important if your users connect using telnet or 'r' commands such as remsh, rcp, rexec, or rlogin.</description>
      <pubDate>Wed, 20 Apr 2005 00:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automate-user-creation/m-p/3528179#M221047</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-20T00:09:56Z</dc:date>
    </item>
  </channel>
</rss>

