<?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 to reset NIS users Password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-to-reset-nis-users-password/m-p/4100360#M92425</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;We reset the password to blank and force a change on then next login. We set a seven day period to use or lose the ID.&lt;BR /&gt;&lt;BR /&gt;Security policy is set on the NIS master in /etc/default/security&lt;BR /&gt;&lt;BR /&gt;ypmake is used by the scripts that do this.&lt;BR /&gt;&lt;BR /&gt;The empty password script contains information on our internal setup, so I can't easily post it. The rest are simple passwd commands.&lt;BR /&gt;&lt;BR /&gt;passwd -f username # forces a password change next login.&lt;BR /&gt;&lt;BR /&gt;passwd -x 7 # makes this account live for only seven days before its inactive.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sun, 11 Nov 2007 02:10:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-11-11T02:10:18Z</dc:date>
    <item>
      <title>Script to reset NIS users Password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-reset-nis-users-password/m-p/4100359#M92424</link>
      <description>Hi Experts,&lt;BR /&gt;I need a script to reset the NIS users password .Here is the procedure currently we are following to reset passwords.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;• On Master server enter “passwd -r files -F /etc/passwd userid” &lt;BR /&gt;• The new password should be the first three letters of the userid plus “-01”.   Example:  userid: minyard      password: min-01&lt;BR /&gt;• Edit the /etc/password file and back-date the aging character by one week.  This is the third character after the comma in the password field.  The aging character will be a letter from a-z or A-Z, hence 52 possibilities.  This will enable the user to immediately change his/her password to something more secure.  Here’s an example of what you should change.          &lt;BR /&gt;       pilzj:uBNMQ/dq5Wi6I,O.gR:1723:125:JonPilz,,,:/home/app/users:/usr/bin/sh  &lt;BR /&gt;pilzj:uBNMQ/dq5Wi6I,O.fR:1723:125:JonPilz,,,:/home/app/users:/usr/bin/sh          &lt;BR /&gt;&lt;BR /&gt;• Run “/var/yp/ypmake” to push the changes.  &lt;BR /&gt;</description>
      <pubDate>Sun, 11 Nov 2007 00:54:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-reset-nis-users-password/m-p/4100359#M92424</guid>
      <dc:creator>Aakaash</dc:creator>
      <dc:date>2007-11-11T00:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reset NIS users Password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-reset-nis-users-password/m-p/4100360#M92425</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;We reset the password to blank and force a change on then next login. We set a seven day period to use or lose the ID.&lt;BR /&gt;&lt;BR /&gt;Security policy is set on the NIS master in /etc/default/security&lt;BR /&gt;&lt;BR /&gt;ypmake is used by the scripts that do this.&lt;BR /&gt;&lt;BR /&gt;The empty password script contains information on our internal setup, so I can't easily post it. The rest are simple passwd commands.&lt;BR /&gt;&lt;BR /&gt;passwd -f username # forces a password change next login.&lt;BR /&gt;&lt;BR /&gt;passwd -x 7 # makes this account live for only seven days before its inactive.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 11 Nov 2007 02:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-reset-nis-users-password/m-p/4100360#M92425</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-11-11T02:10:18Z</dc:date>
    </item>
  </channel>
</rss>

