I use Plesk 11.5.30 on my vServer. I created a new domain with a new web user and /bin/bash (chroot) setting. I can't login with a SFTP connection to this domain only normal FTP connection works. With existing users I don't have this problem.
My reseller have got one plan, where option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment).
This plan contains only one subscription in which I would like to permit users to use sftp. If I go in the subscription, and then I click on "Customize subscription", I can see option "Gestion de l'accès au serveur via SSH" (Manage SSH access to server) is on "Peut autoriser l'accès uniquement à un environnement chrooté" (Can autorize access only in chrooted environment)...
=> So same than in the plan.
After that, when I click on subscription => WebSites and Domain => One domain => FTP Access and I choose a ftp user, I don't have any option to allow ssh access to the user.
For the first Time now i was trying to grant a User SSH Access via Plesk Panel (chrooted/non chrooted), but it doesnt work out really .. Abonnement > Edit Permissions > Allow Access chrooted (or non chrooted doesnt matter) doesnt change anything when im trying to Login with the created System User by Plesk. Login doesnt work!
Regular SSH Login as root works as always without any problems, but even via "su user" it doesnt works.
Till now I didn't had any Problems with my VPS Setup based on Centos 6.6 and Plesk 12.0.18 #50.
Since the migration from Plesk 11.5 to Plesk 12.0 the "chrooted" SFTP accounts do not work anymore. Along with the Plesk migration we have changed the operating system too. We've migrated from CentOS 6 (x86_64) to CentOS 7 (x86_64).
When trying to connect using SFTP on the command line I get the following error message: debug1: Exit status 127...When using an SFTP client such as WinSCP I get logged out immediately without any message.
The OpenSSH configuration is saying: <...> Subsystem sftp /usr/libexec/openssh/sftp-server <...>
The mentioned binary from above does exist: ls -l /usr/libexec/openssh/sftp-server -rwxr-xr-x 1 root root 83984 2015-05-12 21:41:56 /usr/libexec/openssh/sftp-server
I have attached the debug output of the SFTP command (plesk_sftp_issue.txt).When I change the option "Access to the server over SSH" to "/bin/bash" the SFTP access works again. But when "chrooted" it stops working.
I am experiencing a weird issue after a Plesk upgrade (from 11 to 12, installed on Ubuntu 12.04).
FTP/SFTP is not working for all users in one specific domain. When using the latest Filezilla client, I receive the following error when I try to connect in SFTP with the main user of this domain
Error: Received unexpected end-of-file from SFTP server Error: Could not connect to serverClick to expand...
I have manually removed a user from the Ubuntu OS. The user isn't present in the Plesk-UI too.On my Vhosts SuexecUserGroup is still set to this non existent user. So the apache can't restart...
Apache message: bad user name xxx Action 'configtest' failed.
Are there corresponding UI-fields in Plesk or can I edit any Plesk-Db-Table to fix this?How is SuexecUserGroup set by Plesk?
I've been messing about a lot recently and I've had to rebuild my VPS template a lot in the past month. For some reason, Plesk is finding user data from a bunch of previous instances, so I've got to a point now where it's saying users exist when they can't be found in the panel interface.
I don't know how my VPS provider's infrastructure works but I'd presume that when I rebuild the server it's a total new instance and no data should carry over.
Is the the user data stored locally, and how would I go about clearing out the obsolete data?
Is it possible to set the subscription shell option of an subscription via xml api? I see it is possible via cmd "/usr/local/psa/bin/subscription -u {subscription} -shell /usr/local/psa/bin/chrootsh" But how is it possible via xml api?
We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).
So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.
So we decide to change rights on the files/directories under httpdocs with the new ftp access :
httpdocs# chown -R ftpnewsacln *
The is no errors but the files:directories are always with the old ftp user :
I have a virtual server linux with Strato. When I have upgrade from 11.5 to 12.0.18 in spanish I have seen that I can´t add a new domain in power user. The user has ilimited domains and I have less that 10 domains. I see the buttom of "add domain" as in 11.5 and appears all the fields to complete, but there is not buttom to accept o decline. There is no problem with alias or subdomain. I have reinstall 11.5 and dissapeared the problem, but when I upgrade again to 12.0 this buttom doesn´t appear.
I'm running a brand new installed VPS with CentOS 6.6 and Plesk 12.0.18. I created a subscription and by default a FTP user is created. However, I cannot login with these credentials. I also created a new user but the same problem presists. I'm 100% sure that the username and password is correct.
Filezilla gives me and 530 Login incorrect. But if I look at the /var/log/secure file, I see this odd message (FTP username = test):
Jan 30 16:01:45 transip proftpd: PAM unable to dlopen(/lib64/security/pam_stack.so): /lib64/security/pam_stack.so: cannot open shared object file: No such file or directory Jan 30 16:01:45 transip proftpd: PAM adding faulty module: /lib64/security/pam_stack.so Jan 30 16:01:45 transip proftpd: pam_listfile(proftpd:auth): Couldn't open /etc/ftpusers Jan 30 16:01:45 transip proftpd[18085]: 127.0.0.1 (x.x.x.x[x.x.x.x]) - USER test (Login failed): No such user found
No such user found, although it is created with Plesk.
I would like my Plesk users to each have access to the mail folder for their domain. cPanel appears to do this by default by creating a folder named /home/user/mail which contains a subfolder for each domain name. Plesk, however, places all email folders together in the /var/qmail/mailnames folder. I would like to end up with a structure similar to how cPanel does it, but it looks like there are at least a couple of ways to accomplish that and I'm not sure what would be the most safe, reliable way to do it.
One way I can think to do it would be to override the Plesk dovecot config by adding a new config file to /etc/dovecot/conf.d. I think changing the values for mail_home and mail_location as follows would possibly work.
Old values: mail_home = /var/qmail/mailnames/%Ld/%Ln mail_location = maildir:/var/qmail/mailnames/%Ld/%Ln/Maildir
New values: mail_home = /var/www/vhosts/%Ld/mail/%Ld/%Ln mail_location = maildir:/var/www/vhosts/%Ld/mail/%Ld/%LnMaildir
I see a potential issue with this solution; the %Ld for an add-on domain will probably be the add-on domain, and there will not be a folder within /vhosts/ with that name. Perhaps there is another variable for the primary domain that I could use there.
A second way I can think to do it would be to add a symlink in /var/www/vhosts/domain/ named "mail" that points to the actual mail folder for a domain. Again, issues would probably occur here with add-on domains, and I also can't see a way to automate this. I also predict permissions issues with this solution.
I facing a serious problem with my qmail and plesk 11.0.9.I found the way spammer did with my server by listening everything on port 25. Maybe he know the RCPT hosts of mine, and they send emails with random username but with domain hosted on my Plesk. (user1@mydomain.com, user2@ my domain.com, ... userxxx@mydomain.com).
qmail only check domain in RCPT if spammer input:"mail from user1@mydomain.com" - (with out ":") - no email address on my server.then server reply: 550, no mailbox here by that name. (#5.7.17)
But qmail check username and domain if spammer input:""mail from: user1@mydomain.com" - (with ":") - no email address on my server. Then server reply: 250 OK..This is really weird! I tried with all my plesk server, this bug still effected.Click to expand...
After upgrading to plesk 12 over the weekend. None of my mail users can authenticate.I'm receiving quite a few error messages such as this for my ipmap users
authpsa[3822]: No such user 'bstewart@mwfbooks.com' in mail authorization database courier-imapd: LOGIN FAILED, user=bstewart@mwfbooks.com, ip=[::ffff:69.176.116.106]
I've tried running mchk --with-spam command. But it hangs at the mail_auth_dump for several hours. Checking the cpu on that command and it is sitting idle.I've tried running the mail_auth_dump.worker manually and no better luck. Still nothing on the screen just hangs as if it's asleep.
i can't seem to get access to the health monitor in power user mode. As my plesk license was "upgraded" from a usual 11.x 10 Domains-License to new WebAdmin Package, i can't choose service provider view anymore. How can i get access to the health monitor now?
I have done the migration with the Migration Manager from Confixx to Plesk 12.0.18. Users can login tho the mail account with Outlook, thats no problem(old password is working). If the webmailer is set to Hord the user also can login. But if i switch to roundcube it is not possible to login to the Webmailer! You get the message "Die Anmeldung ist fehlgeschlagen." (Login failed)
After changing the email password in plesk, it is then possibe to login(even if the new password is identical to the old one)?!?
Is this a known bug? Is there a solution for that?!? I really don't want to email every customor to ask him to change his password?!
I just migrated a bunch of domains from plesk 11.5. Everything appears to be working well however when examining the maillog, I am seeing some strange errors... In this example, the message was delivered and had the spamassassin stuff in the header.
spamd: handle_user unable to find user: 'jason@xxxxxxp.com'