I want to create user, let's call it 'ftpuser'.
'ftpuser' should only have access to it's home directory and nothin else.
But some other users, should have access to the 'ftpuser' home directory.
I have figured out that it has something to do with chmod, chown, usermod, etc... But I have no idea how to make it work.
Please help!
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Restrict access to a user, FTP
This page contains information on what you're supposed to do but I tested it and it doesn't seem to work: http://archiv.debianhowto.de/en/proftpd ... ftpdkonfig
I think all you need to do is create a new group:
Add your user to it:
Then add this to the /etc/proftpd.conf and restart the FTP daemon:
But it doesn't seem to restrict the user to their home directory. Maybe I'm doing it wrong.
I think all you need to do is create a new group:
Code: Select all
addgroup ftpuser
Code: Select all
usermod -G ftpuser [username]
Code: Select all
# chroot for all users of the group ftpuser
DefaultRoot ~ ftpuser