Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Default cpanel users can't change their passwords

    I've Just moved my cpanel sever to a new machine. now users can't change their password through their cPanel interface. I can change is from the WHM interface, but the user get the following error.

    Changing password for user cdawg.
    Changing password for cdawg
    (current) UNIX password:
    passwd: Authentication token manipulation error

    i checked /var/log/secure and found this:

    Dec 3 09:56:34 hopper Cp-Wrap[7587]: CP-Wrapper terminated without error
    Dec 3 09:57:25 hopper unix_chkpwd[7626]: check pass; user unknown
    Dec 3 09:57:25 hopper unix_chkpwd[7626]: password check failed for user (cdawg)
    Dec 3 09:57:25 hopper passwd: pam_unix(passwd:chauthtok): authentication failure; logname= uid=631 euid=631 tty=pts/2 ruser= rhost= user=cdawg

    It appears that unix_chkpwd can't find the user but the user exists and the uid is correct. i can't figure this one out. Has anyone ever seen this before?

    I'm running cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
    Last edited by cdawg7281; 12-03-2009 at 03:12 PM.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Make sure the users are allowed to reset the passwords from cPanel. The setting is under WHM >> Tweak Setting.

    Also make sure the suid bit is set for /usr/bin/passwd file i.e. it should be

    -r-s--x--x 1 root root 18200 Aug 21 2005 /usr/bin/passwd*

Similar Threads & Tags
Similar threads

  1. Change all cpanel users passwords
    By benito in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-05-2009, 06:55 PM
  2. PHP script to change users email passwords without logging into cPanel
    By pinepapplepete in forum cPanel Developers
    Replies: 5
    Last Post: 06-30-2008, 03:25 PM
  3. cPanel users can't change their own passwords
    By webhostnet in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-04-2005, 03:01 PM
  4. How to let users change their own passwords?
    By nietzsche in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-18-2004, 11:17 AM
  5. Users cant change passwords
    By JamesSmith in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-27-2004, 05:01 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube