<?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 Adding User IDs in NIS environment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-user-ids-in-nis-environment/m-p/2809844#M84016</link>
    <description>I'm looking for a command or script similar to useradd, that would modify the password file in /var/yp/src.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Sep 2002 15:18:00 GMT</pubDate>
    <dc:creator>John Hietala_1</dc:creator>
    <dc:date>2002-09-19T15:18:00Z</dc:date>
    <item>
      <title>Adding User IDs in NIS environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-user-ids-in-nis-environment/m-p/2809844#M84016</link>
      <description>I'm looking for a command or script similar to useradd, that would modify the password file in /var/yp/src.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Sep 2002 15:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-user-ids-in-nis-environment/m-p/2809844#M84016</guid>
      <dc:creator>John Hietala_1</dc:creator>
      <dc:date>2002-09-19T15:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding User IDs in NIS environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-user-ids-in-nis-environment/m-p/2809845#M84017</link>
      <description>Your gonna have to do this yourself.  While NIS supports passwords for users in non-default locations, and password -F /var/yp/src/passwd works, the useradd commands dont support external password files.&lt;BR /&gt;I think that SAM can be configured for a different password file for NIS users, but not sure about that.  &lt;BR /&gt;I guess the thought is that if your smart enough to make the system work with a non-default passwd file, then your smart enough to create a user, then tail -1 /etc/passwd &amp;gt;&amp;gt;/var/yp/src/passwd&lt;BR /&gt;then delete the entry in /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;If you can code C, then there are lots of useradd program sources floating around.  search the forums and I am sure you'll get at least 3-4.  Since these mostly use the system calls for pwtmp, you may have lots of mods to do.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 19 Sep 2002 15:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-user-ids-in-nis-environment/m-p/2809845#M84017</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-09-19T15:42:22Z</dc:date>
    </item>
  </channel>
</rss>

