Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all.
Linux newb here, with a dedicated to server to look after.... I know, I know...
I need to create a couple of FTP users, and need a bit of help. Our hosting uses Plesk which gives us one FTP user per domain.
Basically these new users should be able to read and write files, having no delete file or create/delete directories perm's.
I've read about useradd , and editing etc/passwd to give them a dummy shell. Or use useradd -s I think. Where I need help is (and please forgive my ignorance):
1) useradd - this is a generic 'create user' command right? So how do I enable the users to be FTP users.
1)
Indeed generic. Depending on the configuration of the FTP server (which one do you use?) they are either enabled or disabled by default.
2)
I don't know; if you can write files, you can overwrite them as well which basically means that you can delete them as well (overwriting with an empty file is very similar to deleting).
Note: make sure that the users are jailed so they can not access the rest of the filesystem.
Thanks Wim. I'm trying to find out what FTP server is running at the mo'.
On (2), I'd just assumed it was poss because I've got FileZilla server running locally, which has specific allow/deny options for each of file read, write, delete, and also directory make, delete and list. Will find out what the server is and go from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.