View previous topic :: View next topic |
Author |
Message |
rikell42 Tux's lil' helper
Joined: 25 Aug 2004 Posts: 88 Location: portland orgeon
|
Posted: Sun Jul 03, 2005 1:11 am Post subject: proftpd and htdocs |
|
|
hello all. I have a ftp server up and running lined out in this how to
http://gentoo-wiki.com/HOWTO_setup_a_home-server#Configuring_ProFTPd
I want to be able to access /var/www/localhost/htdocs with my ftp server.
I have this in my proftpd.conf file
Code: |
<Anonymous /var/www/localhost/>
User root
Group root
AnonRequirePassword on
UserAlias www root
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>
Deny from all
</Limit>
<Directory htdocs>
<Limit READ WRITE DIRS STOR CWD CDUP>
AllowAll
</Limit>
</Directory>
</Anonymous>
|
when I try to connect I get this.
Code: |
tux localhost # lftp -u root rikell42.dyn.dhs.org
Password:
lftp root@rikell42.dyn.dhs.org:~> ls
ls: Login failed: 530 Login incorrect.
lftp root@rikell42.dyn.dhs.org:~>
|
does anyone have any suggestions on how I can get this to work?
[/quote] |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Sun Jul 03, 2005 1:29 pm Post subject: |
|
|
Normally, the root user cannot log into any external services (except for ssh) for a very good reason - security!
Try a different user |
|
Back to top |
|
|
|