Search

Search for:
Language:  

No categories for selected product

FTP user cannot login with error "Limit access denies login"

Article ID: 2297 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Symptoms

I cannot FTP to domain with valid credentials of domain FTP user.
The following error is shown in /var/log/secure or /var/log/messages:

---8<---
Jul 18 14:31:39 proftpd[5871]: server_name.com (domain.com[127.0.0.1]) - USER plesk90 (Login failed): Limit access denies login
Jul 18 14:31:49 proftpd[5871]: server_name.com (domain.com[127.0.0.1]) - FTP session closed.
--->8---


What causes the problem?

Cause

Domain FTP user does not belong to group "psacln".

Resolution

For "exclusive" IP address Parallels Plesk Panel creates a special section in ProFTPd configuration file /etc/proftpd.include. For example:

--->8---
<VirtualHost 192.168.10.1>
   ServerName "domain.com"
   ...
   <Limit LOGIN>
         Order allow, deny
         AllowGroup psacln
         Deny from all
   </Limit>
</VirtualHost>
---8<---


FTP access to IP address 192.168.10.1 is allowed for users who in "psacln" group (i.e. who was created through Parallels Plesk Panel).

Verify that FTP user of the domain belongs to group "psacln". You may check with command "id". Here is example of correct output:

~# id ftp_user
uid=10004(ftp_user) gid=2526(psacln) groups=2526(psacln)
~#

If you have received the user does belong to group "psacln" it is recommended to add it.

Find id of group "psacln" on your system:

~# grep psacln /etc/group
psacln:x:2526:
~#

Run command "vipw", find user "ftp_user" and set the group:

---8<---
ftp_user:x:10004:2526::/var/www/vhosts/domain.dom:/bin/false
--->8---






Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products