<?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: unable to change passwd on linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720615#M21591</link>
    <description>No, I could not find anything specific there.  Do you expect what I should got on those files?</description>
    <pubDate>Tue, 31 Jan 2006 09:19:05 GMT</pubDate>
    <dc:creator>Anh-Thu Tran</dc:creator>
    <dc:date>2006-01-31T09:19:05Z</dc:date>
    <item>
      <title>unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720610#M21586</link>
      <description>My user tried to change passwd on linux box and did not get any errors:&lt;BR /&gt;==&amp;gt;passwd&lt;BR /&gt;Changing password for user lehanh.&lt;BR /&gt;Changing password for lehanh&lt;BR /&gt;(current) UNIX password: &lt;BR /&gt;New password: &lt;BR /&gt;Retype new password: &lt;BR /&gt;passwd: all authentication tokens updated successfully.&lt;BR /&gt;However, the new passwd did not get changed.  He still has to use the old passwd to login.  Any ideas?</description>
      <pubDate>Mon, 30 Jan 2006 16:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720610#M21586</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-30T16:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720611#M21587</link>
      <description>Shalom Anh,&lt;BR /&gt;&lt;BR /&gt;Several ideas:&lt;BR /&gt;&lt;BR /&gt;1) The server uses NIS or LDAP and the actual password is changed elsewhere. This situation would also imply a loss of NIS/LDAP communication and would be evident in /var/log/messages&lt;BR /&gt;&lt;BR /&gt;2) There is a space problem on the root filesystem.&lt;BR /&gt;&lt;BR /&gt;3) There is a permissions problem or the /etc/shadow file is locked in some way.&lt;BR /&gt;&lt;BR /&gt;In any chase check the time/date stamp on /etc/passwd and /etc/shadow and make sure the root filesystem is not too close to capacity.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Jan 2006 18:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720611#M21587</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-30T18:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720612#M21588</link>
      <description>I agree, there should be a problem with the configuration of the pam service. You should be using a directory service.&lt;BR /&gt;&lt;BR /&gt;Ensure that you configured correctly the pam files and nsswitch.conf to use the directory service for user authentication.</description>
      <pubDate>Tue, 31 Jan 2006 07:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720612#M21588</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-31T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720613#M21589</link>
      <description>Hi,&lt;BR /&gt;Thank you for your reply, but I would like to clarify my problem.  Actually, my user would like to change his passwd on NIS client (linux box).  As testing, I (root) switched to his id and successfully changed his passwd with passwd command.  However, later the user could not change his passwd and got the error:&lt;BR /&gt;passwd: Failed preliminary check by password service&lt;BR /&gt;&lt;BR /&gt;Now I don't know what wrong.  Is it related to passwd aging that does not allow you to change the passwd too soon?</description>
      <pubDate>Tue, 31 Jan 2006 08:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720613#M21589</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-31T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720614#M21590</link>
      <description>Do you have any extra information in /var/log/messages or /var/log/secure?</description>
      <pubDate>Tue, 31 Jan 2006 09:10:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720614#M21590</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-31T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720615#M21591</link>
      <description>No, I could not find anything specific there.  Do you expect what I should got on those files?</description>
      <pubDate>Tue, 31 Jan 2006 09:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720615#M21591</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-31T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720616#M21592</link>
      <description>If you su again to the user, can you change the password (again)? It could be that when you run the passwd, for some reason the system still think that you are root, and root can bypass complexity check for the password.&lt;BR /&gt;&lt;BR /&gt;When you try as the user, try selecting a complex password, like:&lt;BR /&gt;&lt;BR /&gt;C*mplexP@ssw*rd (ComplexPassword)&lt;BR /&gt;&lt;BR /&gt;Also try with yppasswd instead of passwd.</description>
      <pubDate>Tue, 31 Jan 2006 10:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720616#M21592</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-31T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720617#M21593</link>
      <description>The weird thing is after I reset the user passwd on NIS master, the user is able to change his passwd on NIS client with passwd command, but failed for the second time with the error message on the previous note.  That's why I guess the passwd needs to be aged to change.</description>
      <pubDate>Tue, 31 Jan 2006 10:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720617#M21593</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-31T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720618#M21594</link>
      <description>It could be, I never saw password aging with NIS, but post the ouput of the command:&lt;BR /&gt;&lt;BR /&gt;chage username&lt;BR /&gt;&lt;BR /&gt;To check the password aging options.</description>
      <pubDate>Tue, 31 Jan 2006 10:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720618#M21594</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-31T10:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720619#M21595</link>
      <description>You're right.  There is no expire for passwd, so I don't know what's wrong.</description>
      <pubDate>Tue, 31 Jan 2006 12:00:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720619#M21595</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-31T12:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720620#M21596</link>
      <description>What is the pam stack for passwd?&lt;BR /&gt;Are you using pam_unix2 or pam_unix, and&lt;BR /&gt;another module to update NIS?&lt;BR /&gt;&lt;BR /&gt;Look at the nss switch configuration.&lt;BR /&gt;Normal users need to be able to read&lt;BR /&gt;the nss configuration files or things may&lt;BR /&gt;break.</description>
      <pubDate>Tue, 31 Jan 2006 12:10:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720620#M21596</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-01-31T12:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720621#M21597</link>
      <description>On my /etc/pam.d/passwd, it shows:&lt;BR /&gt;password   required     pam_stack.so service=system-auth&lt;BR /&gt;&lt;BR /&gt;Look like we are using pam_unix, not pam_unix2 on /etc/pam.d/system-auth:&lt;BR /&gt;password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow nis&lt;BR /&gt;&lt;BR /&gt;All entries on /etc/nsswitch.conf has nis, except those: &lt;BR /&gt;ethers:     files&lt;BR /&gt;netmasks:   files&lt;BR /&gt;networks:   files&lt;BR /&gt;protocols:  files&lt;BR /&gt;rpc:        files&lt;BR /&gt;services:   files&lt;BR /&gt;&lt;BR /&gt;Should I add nis to them?  I am not sure how to check about other modules you asked for.  Thanks.</description>
      <pubDate>Tue, 31 Jan 2006 12:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720621#M21597</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-01-31T12:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720622#M21598</link>
      <description>To change an NIS passwd, use&lt;BR /&gt;yppasswd&lt;BR /&gt;not &lt;BR /&gt;passwd&lt;BR /&gt;Also, The yp* package have bugs in some RHEL versions.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2006 16:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720622#M21598</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-02-09T16:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change passwd on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720623#M21599</link>
      <description>Thank you for your reply, but even with yppasswd we still have problem.  1.  Root can not change the user passwd with yppasswd command, only the user can do it .  2.  If use yppasswd command to change root passwd on NIS client, it will change the root passwd on NIS server machine also.  I tried to use passwd command to change root passwd only on NIS client machine, but failed.  I thought passwd use to change local id (root) and yppasswd will change the NIS ids, but look like it doesn't work that way.</description>
      <pubDate>Fri, 10 Feb 2006 16:04:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-change-passwd-on-linux/m-p/3720623#M21599</guid>
      <dc:creator>Anh-Thu Tran</dc:creator>
      <dc:date>2006-02-10T16:04:42Z</dc:date>
    </item>
  </channel>
</rss>

