Search

Language:  
Search for:

Available article translations:

Domain property modification fails with the error: Failed to set password for user

Article ID: 113760, created on Apr 25, 2012, last review on May 11, 2014

APPLIES TO:
  • Parallels Plesk for Linux/Unix

Symptoms

Customer cannot change property of his domain. Any domain modification fails with the error:

Error: system user update is failed: Unable to execute usermng: usermng: PAM password change failed: 20, Authentication token manipulation error System error 111: Connection refused usermng: Failed to set password for user 'user_name' System error 111: Connection refused

Cause

This error is caused by system misconfiguration. Record  for the domain FTP user is missed in the file /etc/shadow.

Resolution

Check if the record about domain FTP user exists in the files /etc/passwd and /etc/shadow.
# grep ftpuser /etc/passwd
ftpuser x:10001:2523::/var/www/vhosts/domain.tld:/bin/false
# grep ftpuser /etc/shadow
#

Use the domain FTP user name instead of ftpuser.

Missed entry on the file /etc/shadow can be fixed with the utility pwconv.
# pwconv

This utility creates shadow from passwd. Missed record for user should be created. 
# grep ftpuser /etc/shadow
ftpuser:$1$cwJm/Trv$2UFLfaAlsvmFzvc6rzJP.0:15455:0:99999:7:::



9f8baf78266b4e54525d1c6bf06305a5 c81e59b61af9dca603ba03b14aabe968 56797cefb1efc9130f7c48a7d1db0f0c

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification