Creating sub ftp accounts in Plesk

  1. Login to shell with root access and issue this command:
# id jack

it will show something like that:

# uid=10002(jack) gid=2524(psacln) groups=2524(psacln)
  1. remember the uid of jack which is 10002, we will need it later.

  2. create user via the command below and use jack’s uid like this (this will let jill access subfolder):

# /usr/sbin/useradd -u 10002 -o -d /var/www/vhosts/example.com/custom_folder -g psacln -s /bin/false jill
  1. create password for jill:
# /etc/passwd jill (enter the new password and confirm it, does not have to be the same as jack’s)
Author: michael schouman on October 5, 2011
Category: Code snippets

Leave a Reply

Last articles