Creating additional FTP user in Plesk

This is the easy way to add an additional FTP user under Plesk,
but this tip need root privileges.

1 – Login to plesk
2 – Click on domain name
3 – Click on Webusers then add a new webuser.

In my case I’ve created new user called : user2

Creating additional FTP user in Plesk

4 – Now run putty or whatever you use to connect via SSH and login as ROOT
5 – Edit /etc/passwd with your favorite editor (GNU nano)

pico /etc/passwd

5 – Find your first FTP user (default FTP user)

Creating additional FTP user in Plesk

6 – Go to user2 line and change UID value by “default FTP user UID”
7 – Change “absolute path for the new user” too.

Creating additional FTP user in Plesk

8 – Save modification. (CTRL+X then Y for putty users)
9 – Done… try login with your new user.

Comments (3)

JeromeOctober 13th, 2009 at 11:46 pm

Cool – Thanks for the post. What would be the next step to represent this new users FTP access in the GUI of Plesk?

[...] This next method MAY create some security hole, which I don’t know about but it is alot cleaner in as it does integrate with plesk. (p.s thanks to updel.com for the original source on this) [...]

Daniel SydnesJune 15th, 2011 at 2:08 pm

The usermod command is a safer way of making this change.

I believe the pertinent switches are:

-o, –non-unique
When used with the -u option, this option allows to change the user ID to a non-unique value.

-u, –uid UID
The numerical value of the user´s ID. This value must be unique, unless the -o option is used. The value must be non-negative. Values between 0 and 999 are typically reserved for system accounts. Any files which the user owns and which are located in the directory tree rooted at the user´s home directory will have the file user ID changed automatically. Files outside of the user´s home directory must be altered manually.

To find the UID of the “primary” account, simply:
grep /etc/passwd PRIMARYUSER

Leave a comment

Your comment