Jump to content

Proftpd problem


tvlad
 Share

Recommended Posts

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. :cry:

 

PS: proftpd is started, the syntax is ok.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ???????

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...