• 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!
  • 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.

Best Practices: FTP account creation

Eric Pretorious

Regular Pleskian
I've noticed that some hosts create a separate -- but related -- account for FTP access to protect the user credentials of the customer account.

What other sorts of policies should be instituted? e.g.,

  1. Should FTP access using the customer account credentials be prohibited? Can FTP access using the customer account credentials be prohibited?
  2. Should a separate account [for FTP] be created automatically during account creation? Can a separate account [for FTP] be created automatically during account creation?
 
Last edited:
Maybe it will help.

I've noticed that some hosts create a separate -- but related -- account for FTP access to protect the user credentials of the customer account.

What other sorts of policies should be instituted? e.g.,

  1. Should FTP access using the customer account credentials be prohibited? Can FTP access using the customer account credentials be prohibited?
  2. Should a separate account [for FTP] be created automatically during account creation? Can a separate account [for FTP] be created automatically during account creation?


maybe this link will help you.
https://manage.grabweb.net/knowledgebase.php?action=displayarticle&id=683
 

Thanks. I understand how to create FTP accounts. :p

I'm looking for best practices for FTP access. e.g.,

What other sorts of policies should be instituted? e.g.,

  1. Should FTP access using the customer account credentials be prohibited? Can FTP access using the customer account credentials be prohibited?
  2. Should a separate account [for FTP] be created automatically during account creation? Can a separate account [for FTP] be created automatically during account creation?

TIA.
 
Thanks. I understand how to create FTP accounts. :p

I'm looking for best practices for FTP access. e.g.,
What other sorts of policies should be instituted? e.g.,

  1. Should FTP access using the customer account credentials be prohibited? Can FTP access using the customer account credentials be prohibited?
  2. Should a separate account [for FTP] be created automatically during account creation? Can a separate account [for FTP] be created automatically during account creation?

Suggestions? Anybody?
 
Suggestions? Anybody?

AFAICT, proftpd uses system user credentials (i.e., PAM)...
Code:
[root@www ~]# cat /etc/xinetd.d/ftp_psa 
...
service ftp
{
	flags		= IPv6
        disable		= no
	socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        instances       = UNLIMITED
        server          = /usr/sbin/in.proftpd
        server_args     = -c /etc/proftpd.conf
}

[root@www ~]# cat /etc/proftpd.conf 
...
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off 
UseReverseDNS off

AuthGroupFile	/etc/group

Include /etc/proftpd.include

[root@www ~]# cat /etc/pam.d/proftpd 
#%PAM-1.0
auth       required	pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth       required	pam_stack.so service=system-auth
auth       required	pam_shells.so
account    required	pam_stack.so service=system-auth
session    required	pam_stack.so service=system-auth
...but Plesk maintains separate credentials.
 
Back
Top