tvlad Posted October 30, 2002 Report Share Posted October 30, 2002 I have proftpd installed on my Mdk system. My proftpd has this config file http://www.proftpd.org/docs/configs/basic.conf Now, how can i acces from my computer the ftp server (which is installed on my computer).I tried ftp.127.0.0.1, 192.168.0.100 (my nic's addres), localhost, but nothing works. PS: proftpd is started, the syntax is ok. Quote Link to comment Share on other sites More sharing options...
Guest tezca Posted October 31, 2002 Report Share Posted October 31, 2002 check to make sure you dont have a file called ftpshut its usually installed by default, either remove it or rename it to ftpshut.bak this file keeps people from logging in in case you want to do maintenance Quote Link to comment Share on other sites More sharing options...
tvlad Posted October 31, 2002 Author Report Share Posted October 31, 2002 I made it work, but when i log anonymous all i see is an empty dir, and that dir ain't empty.How can i see what's in that dir, and how can i add some more directories ???? Quote Link to comment Share on other sites More sharing options...
tvlad Posted October 31, 2002 Author Report Share Posted October 31, 2002 What i want to do is a directory layouts similar to let's say ftp.linux.ro that can be accesed anonymously. Quote Link to comment Share on other sites More sharing options...
tvlad Posted November 1, 2002 Author Report Share Posted November 1, 2002 This is my config file for proftpd : ServerName My first try ServerType standalone DefaultServer on Port 21 Umask 022 MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite on </Directory> # A basic anonymous configuration, no upload directories. <Anonymous ~ftp> User ftp Group ftp UserAlias anonymous ftp RequireValidShell off # Limit the maximum number of anonymous logins MaxClients 10 DisplayLogin welcome.msg DisplayFirstChdir .message #Limit WRITE everywhere in the anonymous chroot <Limit WRITE> DenyAll </Limit> </Anonymous> <Anonymous ~vlad> AnonRequirePassword on User vlad Group vlad RequireValidShell off <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous> <Anonymous ~root> User root Group root AnonRequirePassword on RequireValidShell off </Anonymous> <Global> ServerIdent on ":)" AccessDenyMsg Welcome RootLogin on </Global> Now, if u take a look at user vlad, the config should let me when i log on with vlad to be able to see everything, but i can only see /home/vlad, and i can't go to let's say /etc. What i would like to know is: WHAT must i add to proftpd.conf, to be able let's say with user vlad to see everything. :?: If login with root i can see all the dirs, but i can't acces any of them, any ideas why ??????? Quote Link to comment Share on other sites More sharing options...
tvlad Posted November 1, 2002 Author Report Share Posted November 1, 2002 After i uninstalled proftpd 1.2.5 and installed 1.2.7, when i connect with vlad, i can see every dir, even if i don't have: <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> But i encountered another problem: If i login anonymously it takes me to my home dir : /home/ftp. What should i modify to make proftpd take me to another directory by default.I tried changing <Anonymous ~ftp> TO <Anonymous /var/ftp> but i was still put into /home/ftp. Quote Link to comment Share on other sites More sharing options...
tvlad Posted November 2, 2002 Author Report Share Posted November 2, 2002 Basicaly proftpd chroots the user in his home directory, so he can't go up, he can only go in directories created within his directory.Anyone know how to remove this behaviour ? I tried several things but they didn't work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.