Could not edit password file: Permission denied

vivyrelax

Member
May 10, 2007
5
0
151
Our users need to change their email passwords but they receive this error message:
The system experienced an error when it attempted to save the new password. Could not edit password file: Permission denied
How and where to change this permission, please? I use a reseller account.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @vivyrelax,

Can you share the permission and ownership values on the affected account's passwd and shadow files? You can use the "stat" command to do this. For example:

Code:
stat /home/$username/etc/$domain/passwd
stat /home/$username/etc/$domain/shadow
Ensure to replace real usernames and domain names with examples when pasting the output of the "stat" command.

Thank you.