Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Could not edit password file : No such file or directory

Discussion in 'E-mail Discussion' started by nyjimbo, Jul 1, 2009.

  1. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,131
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    New York
    Customer just called and said he used the Cpanel interface to delete some old email accounts. When he was done he found nobody could log back into their email via any method.

    Upon trying to change any of the passwords via Cpanel control panel they get the error :

    There was a problem changing the password. Show Details

    clicking on "show details" produced:

    Could not edit password file : No such file or directory

    anyone know what might have happened?. What file(s) should I try to restore (files/folders) to get this working again ?.

    thanks.

    ps- system is running Freebsd 6.2 / cPanel Version 11.24.4-CURRENT / cPanel Build 36167
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    The files in question are stored at:

    /home/user/etc/example.com

    There should be at least a passwd and shadow file present in that directory. If a backup of the account exists, restore those files. Otherwise touch them. Ownership should be user:mail
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice