<?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: Command to disable NIS user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890509#M102790</link>
    <description>You could edit the /etc/passwd file at the NIS master and replace the password with an "*", the update the NIS maps using cd /var/yp;make&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 24 Jan 2003 17:19:51 GMT</pubDate>
    <dc:creator>Steve Labar</dc:creator>
    <dc:date>2003-01-24T17:19:51Z</dc:date>
    <item>
      <title>Command to disable NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890508#M102789</link>
      <description>What is the command to disable NIS user from command line</description>
      <pubDate>Fri, 24 Jan 2003 16:53:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890508#M102789</guid>
      <dc:creator>TCEQ UNIX</dc:creator>
      <dc:date>2003-01-24T16:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Command to disable NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890509#M102790</link>
      <description>You could edit the /etc/passwd file at the NIS master and replace the password with an "*", the update the NIS maps using cd /var/yp;make&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 24 Jan 2003 17:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890509#M102790</guid>
      <dc:creator>Steve Labar</dc:creator>
      <dc:date>2003-01-24T17:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Command to disable NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890510#M102791</link>
      <description>We update our password file on the NIS master as &lt;BR /&gt;&lt;BR /&gt;"X" in the password location.&lt;BR /&gt;&lt;BR /&gt;But this happens through "itsync" .. don't know if you are aware of this or not. But you can manually also edit this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 24 Jan 2003 17:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890510#M102791</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2003-01-24T17:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Command to disable NIS user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890511#M102792</link>
      <description>While editing /etc/passwd on the NIS map and putting an impossible hash (like '*') in the passwd field (or writing a script to do it) is probably the best approach, a simple answer would be to do this on the NIS master:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;usermod -s /usr/bin/false user1&lt;BR /&gt;cd /var/yp&lt;BR /&gt;make&lt;BR /&gt;&lt;BR /&gt;This would make user1's shell /usr/bin/false and have the effect of disabling the account.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 17:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-to-disable-nis-user/m-p/2890511#M102792</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-01-24T17:35:17Z</dc:date>
    </item>
  </channel>
</rss>

