<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Michel, <br>
<br>
Great thank you, this is working now. Will this work after a reboot too?<br>
<br>
Could you now explain me what was wrong with my SELinux setup?<br>
<br>
Thank you<br>
Regards<br>
Samuel<br>
<br>
Michel van Deventer escribió:
<blockquote cite="mid:1201895634.3505.19.camel@deltaflyer.grote.net"
 type="cite">
  <pre wrap="">On Fri, 2008-02-01 at 17:29 +0100, Samuel Rochas wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Dear Michel,

    </pre>
    <blockquote type="cite">
      <pre wrap="">What&#347; the output of :
getenforce
  
      </pre>
    </blockquote>
    <pre wrap="">Enforcing

    </pre>
    <blockquote type="cite">
      <pre wrap="">ls -Z /etc/shadow 
  
      </pre>
    </blockquote>
    <pre wrap="">-r--------  root     root     system_u:object_r:shadow_t       /etc/shadow

After running those commands, I can run passwd without errors (passwd: 
all authentication tokens updated successfully), but the password won't 
be changed.

    </pre>
    <blockquote type="cite">
      <pre wrap="">might be an SELinux issue
If so, you can do a "restorecon /etc/shadow"
  
      </pre>
    </blockquote>
    <pre wrap="">Did it, still can't update the password.
    </pre>
  </blockquote>
  <pre wrap=""><!---->To completely rule out SELinux..
Do "setenforce 0" 
try to change password
Please make sure that ALL fields are accounted for in the shadow file
and there are no line breaks!
As a final solution you can try to remove the password of root
completely (in runlevel 1), reboot, login as root and change the
password again.

        Regards,

        Michel van Deventer

  </pre>
  <blockquote type="cite">
    <pre wrap="">Regards
Samuel

_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>


BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------
Teach CanIt if this mail (ID 965063) is spam:
Spam:        <a class="moz-txt-link-freetext" href="http://neelix.grote.net/canit/b.php?c=s&i=965063&m=b276cefc88be">http://neelix.grote.net/canit/b.php?c=s&i=965063&m=b276cefc88be</a>
Not spam:    <a class="moz-txt-link-freetext" href="http://neelix.grote.net/canit/b.php?c=n&i=965063&m=b276cefc88be">http://neelix.grote.net/canit/b.php?c=n&i=965063&m=b276cefc88be</a>
Forget vote: <a class="moz-txt-link-freetext" href="http://neelix.grote.net/canit/b.php?c=f&i=965063&m=b276cefc88be">http://neelix.grote.net/canit/b.php?c=f&i=965063&m=b276cefc88be</a>
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>


  </pre>
</blockquote>
<br>
</body>
</html>