Page 1 of 1

FTP non-root access

PostPosted: 31. July 2009 10:56
by hiken
hello everyone,
my problem (as requested from my boss) is that i want to login via ftp in xampp with an account that is not the root account of our dedicated server. is that at all possible?

Re: FTP non-root access

PostPosted: 03. August 2009 12:52
by hiken
noone???

Re: FTP non-root access

PostPosted: 03. August 2009 16:00
by utan
Well, if i understand you wanna access the xampp folder via ftp with a non root access?
if that's the case, create an user with limited access and create a password , then go to /opt/lampp/etc/proftpd.conf and edit the configuration,
open it with any text editor you like and then enter info like this:

Code: Select all
<Global>
RequireValidShell off
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
Umask            022
DefaultTransferMode ascii
AllowOverwrite on
MaxClients 3
DeleteAbortedStores on
DefaultRoot /opt/lampp/htdocs/xampp  user-created
</Global>

where the user-created is the name in this example of the ftp user created...
then final step is restarting the proftp daemon like this /opt/lampp/lampp stopftp
hope this helps.. regards :D

Re: FTP non-root access

PostPosted: 04. August 2009 14:16
by hiken
ok, lots of thnx mate. i can't try it right now, but when i do, i will post the results here. cheers.