Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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,
I run vsftp on Fedora core 1. I created a local user (ftpuser) to access the ftp. The folder is /var/ftp/test. I gave read write access to this folder to ftpuser. I don't want this user to access/see any other folder. The problem is that the ftpuser can browse all folders on the machine... He can go up to /var/ftp then /var then / etc. I read that I could prevent that by setting
chroot_local_user=YES in vsftpd.conf and setting the home of ftpuser to /var/ftp/test. However, as soon as I set chroot_local_user=YES in vsftpd.conf, vsftp daemon fails when I restart it. The status is vsftpd dead but subsys locked.
Added my ftpuser to the /etc/vsftpd.chroot_list. Actually, this file contains only my ftp users.
Added all local users I don't want to be able to connect via FTP in
/etc/vsftpd.ftpusers
Now, my ftpuser is restricted to its home folder. I tried with other ftp users I created and it is working fine. Other local users listed in vsftpd.ftpusers cannot connect to ftp since they get a login incorrect error.
To me it looks good but is this setting secure to make sure a user won't be able to access files other than the ones in the ftp?
It is kind of risky because it is easy to create a new local user and forget to add it in the vsftpd.ftpusers to prevent him from accessing the ftp.
Finally, from time to time in the shell I get the message :
Mutex destroy failure: Device or resource busy
What's that?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.