cannot log in from proftpd in my local XAMPP created site

Problems with the Linux version of XAMPP, questions, comments, and anything related.

cannot log in from proftpd in my local XAMPP created site

Postby mmyron » 04. June 2015 18:59

Hi all!
I recently installed xampp in a virtualbox machine running mint 17.1 xfce.
I tried to install wordpress but I can't use ftp with it because I can't log in.
In opt/lampp/etc in the proftpd.conf the user is "daemon".
I also tried fillezila but with the "daemon" credentials I still can't log in.
What am I missing here?
mmyron
 
Posts: 2
Joined: 04. June 2015 18:51
Operating System: Linux Mint 17.1 xfce

Re: cannot log in from proftpd in my local XAMPP created sit

Postby Nobbie » 04. June 2015 21:08

You have to apply real user data from your distribution.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: cannot log in from proftpd in my local XAMPP created sit

Postby mmyron » 05. June 2015 10:22

Nobbie wrote:You have to apply real user data from your distribution.


You mean I have to add an existing users credentials to proftpd.conf?
I've saw the user section in the file but the password is encrypted. How do I do this?
mmyron
 
Posts: 2
Joined: 04. June 2015 18:51
Operating System: Linux Mint 17.1 xfce

Re: cannot log in from proftpd in my local XAMPP created sit

Postby Nobbie » 05. June 2015 15:53

mmyron wrote:You mean I have to add an existing users credentials to proftpd.conf?


No, you simply have to enter an login an existing UNIX User from /etc/password.

For example. you can login to FTP with your personal UserID and your personal password, if you do so, FTP will start in your home directory. As there is no User for Xampp, you may create a new User (with the "adduser" command) for Xampp (for example call it "xampp") and provide /opt/lampp/ or /opt/lampp/htdocs as home directory.

If you do so, you also should change ownership of /opt/lampp/htdocs to User "xampp" and finally edit httpd.conf and apply "User = xampp", after then Apache will be started from User xampp. Otherwise you might get problems that the FTP User xampp does not have the same rights as the Apache process, which also reads and creates files. This is in fact basic Linux knowledge and not Xampp knowledge.
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: cannot log in from proftpd in my local XAMPP created sit

Postby glitzi85 » 05. June 2015 18:08

Aside from what Nobbie already said: The User-Directive in proftpd.conf describes under which user account the ftp server runs. It has nothing to do with login!
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests