Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 seem to be having some trouble getting logged in trough ftp. My server is located in my house. I am 100% sure the password I am entering is correct. I am also commented out the user 'root'(one I am trying to login to ftp with) in the config file.
Code:
[18:11:53] SmartFTP v2.5.1008.27
[18:11:53] Resolving host name "192.168.2.5"
[18:11:53] Connecting to 192.168.2.5 Port: 21
[18:11:53] Connected to 192.168.2.5.
[18:11:58] 220 ProFTPD 1.3.0 Server (ProFTPD) [192.168.2.5]
[18:11:58] USER root
[18:11:58] 331 Password required for root.
[18:11:58] PASS (hidden)
[18:11:58] 530 Login incorrect.
#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
RootLogin on
AllowStoreRestart on
AuthAliasOnly off
</Global>
DefaultTransferMode binary
UseFtpUsers 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
#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.
#Include directive should point to place where FTP Virtual Hosts configurations
#preserved
ScoreboardFile /var/run/proftpd/scoreboard
# Primary log file mest be outside of system logrotate province
TransferLog /usr/local/psa/var/log/xferlog
#Change default group for new files and directories in vhosts dir to psacln
<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd
IdentLookups off
UseReverseDNS off
AuthGroupFile /etc/group
Include /etc/proftpd.include
Quote:
Originally Posted by comprookie2000
Is this the part you uncommented;
Code:
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
What distro?
You don't want to run the chroot do you so comment that line;
#DefaultRoot ~
then restart it
I don't use proftpd, I use Pure-FTPd so I am just guessing
do you have the file /etc/pam.d/ftp
You should be able to get it to work, you just have to spend a little time;
This is for redhat 4 about the same as centos
See if you missed something;
I would start at the PAM part
Just make sure you restart it each time you edit the conf file http://cosi.clarkson.edu/docs/faq/proftpd.html
Last edited by comprookie2000; 01-19-2008 at 07:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.