<?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: script create NIS user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019487#M428211</link>
    <description>You've really got to define the problem much better. What file actually serves as the source for the passwd map? Moreover, it's very common to have automount directories (especially for the users' home directories) stored by NIS. Normally, you run your script on the NIS master and remsh or ssh to cereate the home directory on the desired target machine and then do a ypmake. Ypmake will then do all the automatic pushing of the updated maps for you.&lt;BR /&gt;&lt;BR /&gt;You will find that when you define the problem well enough, the script almost writes itself. Perl has the crypt() function which can be used to generate the passwd hash.</description>
    <pubDate>Mon, 18 Dec 2006 21:27:00 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-12-18T21:27:00Z</dc:date>
    <item>
      <title>script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019486#M428210</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Does anyone know of any scripts to create NIS users, set default password and push to a second node.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 18 Dec 2006 20:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019486#M428210</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-18T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019487#M428211</link>
      <description>You've really got to define the problem much better. What file actually serves as the source for the passwd map? Moreover, it's very common to have automount directories (especially for the users' home directories) stored by NIS. Normally, you run your script on the NIS master and remsh or ssh to cereate the home directory on the desired target machine and then do a ypmake. Ypmake will then do all the automatic pushing of the updated maps for you.&lt;BR /&gt;&lt;BR /&gt;You will find that when you define the problem well enough, the script almost writes itself. Perl has the crypt() function which can be used to generate the passwd hash.</description>
      <pubDate>Mon, 18 Dec 2006 21:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019487#M428211</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-12-18T21:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019488#M428212</link>
      <description>Thank-you A.Clay&lt;BR /&gt;&lt;BR /&gt;I am using NIS with home dir is an NFS folder, and have been creating users using SAM. Just would like to automate the process so i could do thing faster.&lt;BR /&gt;i am not sure "useradd" would work with NIS &lt;BR /&gt;but will try it out.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Dec 2006 14:46:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019488#M428212</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-19T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019489#M428213</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when you use the /etc/passwd of the NIS master as source of the NIS map 'passwd', the 'useradd' on the NIS master will do it for all NIS users.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 19 Dec 2006 17:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019489#M428213</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-12-19T17:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019490#M428214</link>
      <description>thanks Peter,&lt;BR /&gt;&lt;BR /&gt;i just create user using useradd and run ypmake &lt;BR /&gt;to generate the map and push it to other server.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Dec 2006 17:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019490#M428214</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-19T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: script create NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019491#M428215</link>
      <description>Thank you all for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 19 Dec 2006 17:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-create-nis-user/m-p/5019491#M428215</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2006-12-19T17:18:13Z</dc:date>
    </item>
  </channel>
</rss>

