<?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: NIS password... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965993#M815212</link>
    <description>Why I make it hard like that for myself, is because users change their password throught the application BaaN, and it is hard coded in it to use command "passwd" ....&lt;BR /&gt;I've checked the /etc/passwd file and all my users are before the + sign....</description>
    <pubDate>Tue, 06 May 2003 18:29:28 GMT</pubDate>
    <dc:creator>Jonathan Caplette_1</dc:creator>
    <dc:date>2003-05-06T18:29:28Z</dc:date>
    <item>
      <title>NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965985#M815204</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I've a little problem here, with my HP-UX 11 box.... When a user ask the system to change is password with the command "passwd" the system said "Changing password for &lt;USER&gt; on NIS server" and then ask for the Old NIS password... I use NIS for hosts, etc... but I don't want to use it on that machine for passwords, cause I need to have locally saved passwords.... &lt;BR /&gt;&lt;BR /&gt;I've added into my nsswitch.conf file those two lines: &lt;BR /&gt;passwd:  files nis&lt;BR /&gt;group:   files nis&lt;BR /&gt;&lt;BR /&gt;But even with that it stay ask the users for an NIS password.... How can I tell the system to always take local passwd file instead of the NIS??&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Jonathan&lt;/USER&gt;</description>
      <pubDate>Mon, 05 May 2003 16:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965985#M815204</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2003-05-05T16:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965986#M815205</link>
      <description>Use ..&lt;BR /&gt;$ passwd -r files&lt;BR /&gt;.. if you want to change the password on the local /etc/passwd file.&lt;BR /&gt;$ man passwd&lt;BR /&gt;for details.</description>
      <pubDate>Mon, 05 May 2003 16:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965986#M815205</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-05-05T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965987#M815206</link>
      <description>There is another way to do this, and that is to use a different passwd binary.&lt;BR /&gt;&lt;BR /&gt;/usr/bin/passwd will look for methods of authentication on the system beyond /etc/passwd, and change auth by the correct mechanism for the auth type.&lt;BR /&gt;&lt;BR /&gt;/sbin/passwd is a static binary made to modify /etc/passwd only.  I use this command over /usr/bin/passwd as root of course by modifying my path to look in /sbin before /usr/bin, and have had rare instances where I have showed users this command over /usr/bin.  However, I would never recommend doing this, as the standard yppasswd also pushes new maps, where /sbin/passwd does not, and neither does passwd -r.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 05 May 2003 19:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965987#M815206</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-05-05T19:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965988#M815207</link>
      <description>Chan you have the good answer.. in part... &lt;BR /&gt;&lt;BR /&gt;What I wanna know is how can a user change is own passwd by typing only "passwd" and not "passwd -r files" each time he want to change it??? How can I reload the nsswitch.conf file?? And I don't wanna make a script to do that?? I'm sure I can change the config of the system to do it that way???&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jonathan</description>
      <pubDate>Tue, 06 May 2003 13:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965988#M815207</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2003-05-06T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965989#M815208</link>
      <description>I wont get into making the other answer easier, as to me it's not.  No need to change nsswitch.conf using my method.&lt;BR /&gt;&lt;BR /&gt;To do this, simply load /sbin into the path before /usr/bin, and you will call the correct password program for what your needs are.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps.  sorry for the repeat post, the site yesterday kept giving me an error 100016 and stating that it could not find the server.  looks like it could ;/</description>
      <pubDate>Tue, 06 May 2003 14:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965989#M815208</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-05-06T14:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965990#M815209</link>
      <description>Hi Shannon,&lt;BR /&gt;&lt;BR /&gt;I tried my PATH with /sbin before /usr/bin, and when I use passwd I got this error cause I'm not root:&lt;BR /&gt;&lt;BR /&gt;$ passwd&lt;BR /&gt;Changing password for root&lt;BR /&gt;Permissior denied.&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;I don't want to use sudo... the users need to change their password?!?!?!&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;Jonathan&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 16:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965990#M815209</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2003-05-06T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965991#M815210</link>
      <description>Do not make this complicated for yourself. Why don't you create an alias for the users, or you can have one alias for password-nis-change and one for password-local-change. Your users just have to be aware of this whenever they change their password. For example ..&lt;BR /&gt;alias pnc='passwd -r nis'&lt;BR /&gt;alias plc='passwd -r files'&lt;BR /&gt;Just my thought ..</description>
      <pubDate>Tue, 06 May 2003 17:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965991#M815210</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-05-06T17:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965992#M815211</link>
      <description>Jonathon,&lt;BR /&gt;&lt;BR /&gt; For locally administered passwords, you must have the user defined in the server's local /etc/passwd file. There is a "magic" character(^+)  that denotes the starting place for NIS(and the end of local entries). Just make sure the user is defined before this character.</description>
      <pubDate>Tue, 06 May 2003 18:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965992#M815211</guid>
      <dc:creator>Jack Werner</dc:creator>
      <dc:date>2003-05-06T18:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965993#M815212</link>
      <description>Why I make it hard like that for myself, is because users change their password throught the application BaaN, and it is hard coded in it to use command "passwd" ....&lt;BR /&gt;I've checked the /etc/passwd file and all my users are before the + sign....</description>
      <pubDate>Tue, 06 May 2003 18:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965993#M815212</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2003-05-06T18:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965994#M815213</link>
      <description>Regarding:  "...But even with that it stay ask the users for an NIS password.... How can I tell the system to always take local passwd file instead of the NIS??..."&lt;BR /&gt;&lt;BR /&gt;I believe you may have to run 'inetd -c' after modifying&lt;BR /&gt;&lt;BR /&gt;Let's begin with a fresh copy of /etc/nsswitch.conf:&lt;BR /&gt;&lt;BR /&gt;mv /etc/nsswitch.conf /etc/nsswitch_old&lt;BR /&gt;cp /usr/newconfig/etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;Then remove from 'nis' from /etc/nsswitch.conf file with only files designated for passwd and group?&lt;BR /&gt;&lt;BR /&gt;passwd: files&lt;BR /&gt;group: files&lt;BR /&gt;&lt;BR /&gt;'inetd -c'&lt;BR /&gt;&lt;BR /&gt;Then try this:&lt;BR /&gt;&lt;BR /&gt;passwd: files [NOTFOUND=continue UNAVAIL=continue] nis &lt;BR /&gt;&lt;BR /&gt;'inetd -c'</description>
      <pubDate>Tue, 06 May 2003 18:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965994#M815213</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-05-06T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965995#M815214</link>
      <description>Need to clarify one thing .. are you saying the same user existed in the NIS password map as well in the local password file ?</description>
      <pubDate>Tue, 06 May 2003 19:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965995#M815214</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-05-06T19:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965996#M815215</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I had to restart the inetd daemon with the command inetd -k and the /usr/sbin/inetd &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jonathan</description>
      <pubDate>Wed, 07 May 2003 13:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password/m-p/2965996#M815215</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2003-05-07T13:39:17Z</dc:date>
    </item>
  </channel>
</rss>

