• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Command Line Utility Error

GiorgosI

Basic Pleskian
Plesk 10.0.1, Ubuntu 10.04 LTS x64, Linux 2.6.32-26-generic

I cannot find any documentation for command line utility of Plesk 10.0.1.
I try to update domain's ftp credentials through command line utility but I get:
__________________________________________________________________________________________
# export PSA_CRYPTED_PASSWORD='$1$TqAsfJGs$9OMNfTKyKAOfgIq8R3eBw0'
# /opt/psa/bin/domain --update testnoc6.ccf.auth.gr -login testnoc6ftp -passwd_type encrypted -passwd ''
/usr/sbin/chpasswd: invalid option -- 'e'
Usage: chpasswd [options]

Options:
-h, --help display this help message and exit
-S, --stdout report encrypted passwords to stdout
instead of changing the passwd file

usermng: /usr/sbin/chpasswd execution error. result code=512
An error occurred during domain update: error in hosting updating: Unable to update hosting settings: system user update is failed: Unable to create system user: usermng: /usr/sbin/chpasswd execution error. result code=512
__________________________________________________________________________________________


In CentOS 5.5 x64 it seems to work fine(I give exactly the same command):
__________________________________________________________________________________________
# export PSA_CRYPTED_PASSWORD='$1$TqAsfJGs$9OMNfTKyKAOfgIq8R3eBw0'
# /usr/local/psa/bin/domain --update testnoc6.ccf.auth.gr -login testnoc6ftp -passwd_type encrypted -passwd ''
no crontab for testnoc7ftp
no crontab for testnoc7ftp
SUCCESS: Update of domain 'testnoc6.ccf.auth.gr' complete.
__________________________________________________________________________________________
 
Seems problem in /usr/sbin/chpasswd version. For example, I have -e option on my Ubuntu:

# cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"

# /usr/sbin/chpasswd --help
Usage: chpasswd [options]

Options:
-e, --encrypted supplied passwords are encrypted
-h, --help display this help message and exit
-m, --md5 use MD5 encryption instead DES when the supplied
passwords are not encrypted
 
Yes, /usr/sbin/chpasswd does not support -e option.
So, is it Ubuntu's or Plesk's bug.
Plesk 10.0.1 says that supports Ubuntu 10.04.
Do you know if there is any workaround?
 
Yes, we have already submitted bugreport regarding this problem. As far as I know fix will be included to 10.1.0 version which will be released soon (no any ETA).
 
Back
Top