<?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: change passwd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806025#M23873</link>
    <description>If the user is not listed in /etc/passwd,&lt;BR /&gt;then you are using LDAP, NIS+, or some&lt;BR /&gt;other system for authentication of that user.&lt;BR /&gt;They may not have appropriate permissions&lt;BR /&gt;to change the password from that server.&lt;BR /&gt;&lt;BR /&gt;If they are listed there, then add an entry&lt;BR /&gt;to /etc/shadow if it is missing.&lt;BR /&gt;passwd should be setuid.&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Jun 2006 08:20:36 GMT</pubDate>
    <dc:creator>Bill Thorsteinson</dc:creator>
    <dc:date>2006-06-19T08:20:36Z</dc:date>
    <item>
      <title>change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806019#M23867</link>
      <description>Hi all.&lt;BR /&gt;I have problem to change passwd for user.&lt;BR /&gt;I've tried to change passwd for user.&lt;BR /&gt;when it runs, some error logged like this.&lt;BR /&gt;&lt;BR /&gt;#[root@mail root]# passwd affis&lt;BR /&gt;Changing password for user affis&lt;BR /&gt;passwd: Authentication token manipulation error&lt;BR /&gt;&lt;BR /&gt; Jun 14 13:32:36 mail sshd[2294]: error: Could not get shadow information for affis                                &lt;BR /&gt;Jun 14 13:32:36 mail sshd[2294]: Failed password for affis from 211.237.50.12 port 35070 ssh2&lt;BR /&gt;&lt;BR /&gt;what might be the problem?&lt;BR /&gt;send your opinion. as fast as possible.&lt;BR /&gt;thanks.</description>
      <pubDate>Wed, 14 Jun 2006 19:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806019#M23867</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2006-06-14T19:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806020#M23868</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt; as I can see you are trying to change password for user affis over ssh connection?&lt;BR /&gt;I think should check is there some line in /etc/shadow connected with affin user ( it must be ) , and of course check /etc/ssh/sshd_config to see is there some parameter which restrict password changing over ssh connection.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best wishes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 00:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806020#M23868</guid>
      <dc:creator>debian111</dc:creator>
      <dc:date>2006-06-15T00:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806021#M23869</link>
      <description>Please check the permissions of /etc/passwd and /usr/bin/passwd files. The owner and group should be set to root.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 15 Jun 2006 00:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806021#M23869</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2006-06-15T00:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806022#M23870</link>
      <description>As you notice to me that, I checked the owner, group of /etc/passwd /usr/bin/passwd.&lt;BR /&gt;it works fine. boht file has owner root, group root permission.&lt;BR /&gt;and checked the /etc/ssh/sshd_config file.&lt;BR /&gt;&lt;BR /&gt;can you point out which options in the sshd_config file to block to change passwd via connecting ssh.&lt;BR /&gt;&lt;BR /&gt;================&lt;BR /&gt;Here is additional problem.&lt;BR /&gt;&lt;BR /&gt;I can't add user affis.&lt;BR /&gt;when i run command, it prints out like this.&lt;BR /&gt;[root@mail root]# useradd affis&lt;BR /&gt;useradd: user affis exists&lt;BR /&gt;&lt;BR /&gt;so I switched user from root to affis&lt;BR /&gt;but it switched the user affis. though it has no affis accounts in /etc/passwd /etc/shadow file.&lt;BR /&gt;[root@mail root]# su - affis&lt;BR /&gt;sh-2.05$ id&lt;BR /&gt;uid=42000(affis) gid=65535 groups=65535&lt;BR /&gt;sh-2.05$ &lt;BR /&gt;I think some sort of complexed problem is in it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 20:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806022#M23870</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2006-06-15T20:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806023#M23871</link>
      <description>I'm not sure if you've checked this or not:  There IS an entry in /etc/shadow for this user, isn't there?  If not, you could simply copy your (or root's) entry and change the user name.  Then you should be able to change the password as root, or log in as the user (using the password for whoever you copied) and use passwd to change the password.</description>
      <pubDate>Thu, 15 Jun 2006 22:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806023#M23871</guid>
      <dc:creator>Steve_160</dc:creator>
      <dc:date>2006-06-15T22:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806024#M23872</link>
      <description>I read your second post more closely.  If the user was not listed in /etc/shadow to start with, that was your problem.  "Passwd" will not create a password where none exists.&lt;BR /&gt;&lt;BR /&gt;If the user is not listed in /etc/passwd then I would edit that file to create the account manually. Here is an example: &lt;BR /&gt;&lt;BR /&gt;steve:x:500:100:Steve:/home/steve:/bin/bash&lt;BR /&gt;&lt;BR /&gt;The fields are:&lt;BR /&gt;1: Username&lt;BR /&gt;2: Always "x" (I suppose this field was once used for the password)&lt;BR /&gt;3: Userid:  A unique number, but similar to other users' id's.&lt;BR /&gt;4: Group id:  Same as the other users.&lt;BR /&gt;5: User's real Name&lt;BR /&gt;6: User's home directory&lt;BR /&gt;7: Login shell.</description>
      <pubDate>Thu, 15 Jun 2006 23:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806024#M23872</guid>
      <dc:creator>Steve_160</dc:creator>
      <dc:date>2006-06-15T23:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: change passwd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806025#M23873</link>
      <description>If the user is not listed in /etc/passwd,&lt;BR /&gt;then you are using LDAP, NIS+, or some&lt;BR /&gt;other system for authentication of that user.&lt;BR /&gt;They may not have appropriate permissions&lt;BR /&gt;to change the password from that server.&lt;BR /&gt;&lt;BR /&gt;If they are listed there, then add an entry&lt;BR /&gt;to /etc/shadow if it is missing.&lt;BR /&gt;passwd should be setuid.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jun 2006 08:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/change-passwd/m-p/3806025#M23873</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-06-19T08:20:36Z</dc:date>
    </item>
  </channel>
</rss>

