Page 1 of 1

How do you create a new FTP USer?

PostPosted: 05. October 2005 15:53
by Bobby Allen
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

PostPosted: 05. October 2005 21:47
by Kristian Marcroft
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

PostPosted: 07. October 2005 12:35
by Bobby Allen
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 :)

PostPosted: 07. October 2005 12:41
by Kristian Marcroft
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

PostPosted: 07. October 2005 13:29
by Bobby Allen
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

PostPosted: 07. October 2005 13:34
by Wiedmann
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