Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If you are using Debian you NEED to install libdb3-util (do NOT attempt to do a filesearch for db_load like I did - you will end up with libdb2-util and have to face problems). libdb3-util is the right one.
After that you can create the db with for instance:db3_load -T -t hash -f /etc/vsftpd/tmp/accounts.txt /etc/vsftpd/accounts.db
but what did u do with this line?
From the manpage:
This powerful option allows the override of any config option specified in the manual page, on a per-user basis. Usage is simple, and is best illustrated with an example. If you set user_config_dir to be /etc/vsftpd_user_conf and then log on as the user "chris", then vsftpd will apply the settings in the file /etc/vsftpd_user_conf/chris for the duration of the session. The format of this file is as detailed in this manual page!
I cant find that in my config file. Is it right that u can assign every virtual user an own directory with the next line?
Wrong. Except you use virtual_use_local_privs=YES. If you do not have that enabled (which is the default) you require anon_root setting.
Now if i login as Tom do i get to the path of Tom?
Does it work like this or am i wrong.
If i am wrong how can i reach my planning?
You don't get to the other dir ... but you should consider using my new configuration if you require users to be able to chmod!
local users should not be possible to login. Honestly I've denied ALL local users to login. Remember FTP uses CLEARTEXT password transmission so allowing local users to login is a potential security hole ... and I do not like that.
i set up vsftpd_login.db with my users. Then i created the pam file and copied it to the pam directory. Then i set up this new local user "virtual" with the home directory of my apache served fiels in /var/www/html.
Now i want to allow my users from the vsftpd_login.db to log in one dir per user. I mean
well then disable that statement ... and check if it works then. Afterwards upload a file and try chmod 700 <filename>. I do not know when chmod_enable was introduced ... but this should work. Also 1.2.0 is current version and you should consider upgrading ...