Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 805 Bytes

File metadata and controls

30 lines (27 loc) · 805 Bytes
aliases author date tags title
/2007/04/27/adding-chrooted-ftp-users-outside-of-plesk/
Major Hayden
2007-04-27 08:51:59 -0700
ftp
plesk
security
Adding chrooted FTP users outside of Plesk

To add a chrooted FTP user outside of Plesk properly, you need to:

  • Create the user with the home directory as the root of what they can access
  • Give the user a password
  • Make their primary group psacln
  • Add them to the psaserv group as well
# useradd username -d /var/www/html/website/slideshow/
# echo "password" | passwd username --stdin
Changing password for user username.
passwd: all authentication tokens updated successfully.
# usermod -g psacln username
# usermod -G psaserv username
# lftp username:password@localhost
lftp username@localhost:/> cd ..
lftp username@localhost:/>