How do you create a new FTP USer?

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

How do you create a new FTP USer?

Postby Bobby Allen » 05. October 2005 15:53

Hi all, hope you can help..

I want to create a new FTP user that has access to /opt/lampp/htdocs/{somefolder}

How do a create a new user with full permissions on a folder in the htdocs?

Is there a command that I can type in the console?

Thanks in advance,

Bobby
Bobby Allen
 
Posts: 4
Joined: 04. October 2005 23:48
Location: England, UK

Postby Kristian Marcroft » 05. October 2005 21:47

Hi,

you will have to create a new User on your System.
And this Users Homedir should be /opt/lampp/htdocs/<somedir>

Then goto /opt/lampp/etc/proftpd.conf and change the line:

DefaultRoot /opt/lampp/htdocs
to
DefaultRoot ~

save and restart proftpd.

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Bobby Allen » 07. October 2005 12:35

Kristian Marcroft wrote:Hi,

you will have to create a new User on your System.
And this Users Homedir should be /opt/lampp/htdocs/<somedir>

Then goto /opt/lampp/etc/proftpd.conf and change the line:

DefaultRoot /opt/lampp/htdocs
to
DefaultRoot ~

save and restart proftpd.

So long
KriS


Ok, So basically I have to create a system user, Thats ok :)

Can you add Users directly into the proftpd file, like you can with SlimFTPd?

Thanks for your help Kris, I will give it a go :)
Bobby Allen
 
Posts: 4
Joined: 04. October 2005 23:48
Location: England, UK

Postby Kristian Marcroft » 07. October 2005 12:41

Hi,

AFAIK you can also put them in the proftpd.conf
See the example of the user "nobody" in proftpd.conf
But I'm not sure, if this user has to exist.

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Bobby Allen » 07. October 2005 13:29

Kristian Marcroft wrote:Hi,

AFAIK you can also put them in the proftpd.conf
See the example of the user "nobody" in proftpd.conf
But I'm not sure, if this user has to exist.

So long
KriS


Ok thanks for the speedy reply,

Regards,

Bobby
Bobby Allen
 
Posts: 4
Joined: 04. October 2005 23:48
Location: England, UK

Postby Wiedmann » 07. October 2005 13:34

Ok, So basically I have to create a system user, Thats ok
Can you add Users directly into the proftpd file, like you can with SlimFTPd?

http://www.castaglia.org/proftpd/doc/co ... ation.html
http://www.castaglia.org/proftpd/doc/co ... Users.html
http://www.castaglia.org/proftpd/doc/co ... Files.html
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 23 guests