DaneD84
30th April 2007, 04:54
Hi,
Iam fairly new to the linux operating system and iam trying to configure proftp. I can connect with a basic anonymous connection using ftp and ftp as user name password. I have an error when connecting using a unique username and password. here is a copy of my config file
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User ruel
Group nobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /var/www/html
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Username i wish to use is ruel and it uses nobody primary group.
When i try connect to the ftp server with SmartFtp client using the username and correct password i get
[11:53:46] Connected
[11:53:56] 220 ProFTPD 1.3.0a Server (ProFTPD Default Installation) [::ffff:172.72.0.3]
[11:53:56] USER ruel
[11:53:57] 331 Password required for ruel.
[11:53:57] PASS (hidden)
[11:53:57] 530 Login incorrect.
My overall goal is to give users access to there files on a webserver. Is there another way i should go about this if there will be several users accessing several different files?
I read about ISPConfig is this a good tool to use?
Iam fairly new to the linux operating system and iam trying to configure proftp. I can connect with a basic anonymous connection using ftp and ftp as user name password. I have an error when connecting using a unique username and password. here is a copy of my config file
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User ruel
Group nobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /var/www/html
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Username i wish to use is ruel and it uses nobody primary group.
When i try connect to the ftp server with SmartFtp client using the username and correct password i get
[11:53:46] Connected
[11:53:56] 220 ProFTPD 1.3.0a Server (ProFTPD Default Installation) [::ffff:172.72.0.3]
[11:53:56] USER ruel
[11:53:57] 331 Password required for ruel.
[11:53:57] PASS (hidden)
[11:53:57] 530 Login incorrect.
My overall goal is to give users access to there files on a webserver. Is there another way i should go about this if there will be several users accessing several different files?
I read about ISPConfig is this a good tool to use?