Hello,
[Red Hat Linux 8.0, vsftp]
I would like a user to upload/delete/rename files in a specific folder e.g. /www/www.domain.de/
Using following command actually works fine:
useradd -g users -d /www/www.domain.de/ smith
Using WinSCP and logging on as the user smith I directly land in the folder /www/www.domain.de
Enabling the user to copy, delete and rename within this folder I did following:
chown -R roelle http://www.personaldomain.de
Questions:
1. Using WinSCP I can go up the tree structure and look into other folders and even copy files from these folders to my local computer. As the user smith I can't rename and delete the files of other folders, which is ofcourse correct.
=> How can I avoid the user smith of changing to other folders other than his folder /www/www.domain.de ?
=> If I can't avoid the user smith changing to other folders can I at least avoid him copying any files from these folders to his local computer or elsewhere?
=>Can I even disallow the displaying of any other files or folders other than his?
=>Are there any good newbie tutorials about Linux user and group policies and how to's?
owner smith
group users
Thanks!
Questions regarding vsftp [Red Hat Linux 8.0]
Moderator: General Moderators
-
visionmaster
- Forum Contributor
- Posts: 139
- Joined: Wed Jul 14, 2004 4:06 am
-
Breckenridge
- Forum Commoner
- Posts: 62
- Joined: Thu Sep 09, 2004 11:10 pm
- Location: Breckenridge, Colorado
Here it is
edit your /etc/vsftpd/vsftpd.conf file
make sure you have a line that reads
if you want exclude some users and give them total access you can
1. remove the # aka uncomment the line:
2. add that users to /etc/vsftpd.chroot_list
edit your /etc/vsftpd/vsftpd.conf file
make sure you have a line that reads
Code: Select all
chroot_local_user=yes1. remove the # aka uncomment the line:
Code: Select all
#chroot_list_file=/etc/vsftpd.chroot_list