Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd and htdocs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rikell42
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2004
Posts: 88
Location: portland orgeon

PostPosted: Sun Jul 03, 2005 1:11 am    Post subject: proftpd and htdocs Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Jul 03, 2005 1:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum