SlackwareThis Forum is for the discussion of Slackware Linux.
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.
i have just enabled vsftpd by uncommenting the line out in inetd.conf. i am wondering where the default directory for the demon is, any tips etc would be appreciated. =)
If you have this feature in /etc/vsftpd.conf:
local_enable=YES
Then, if you login as local user ninja_master, default dir is /home/ninja_master
Or if you have anonymous_enable=NO commented in /etc/vsftpd.conf and nopriv_user=ftp,
I believe the defaul dir will be /home/ftp (the default dir for ftp user as defined in /etc/passwd)
There can be several "default" directories, as it depends on the configuration (as mentioned by keefaz) and to which daemon you are referring (master vsftpd or the slave vsftpd's). And the default directory also depends on several chroot settings, or if and how virtual users are configured.
In any case, you can determine any processes current directory by looking at /proc/PID/cwd, for a given process ID PID.
and forwarded 20-21 and 35000-36000, but my friends firefox still cannot access my ftp server. i issued rc.inetd restart. i get the ftp server no problem in my firefox, and know i have to "mount --bind /home/ftp/folder /home/user/foldertoshareonftp" or backwards the folders to get the folder shared. am i doing something wrong? this is for people i love, and for people i hate. my friends that will certainly try to sabitoge my server.
thanks =) i love u LQ!!! lol im such a retard i couldnt function with out lq lol.
ok i found out my isp is like a dirty outhouse for port 21, and blocks it. my next issue is that i have to issue
Code:
mount --bind /home/user/folder /home/ftp/folder
to get it to load the folder. and im wondering how to automatically do this upon boot. i would just throw it in the fstab, but i believe that it is difrent. ill poke around and see what i can get to automount.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.