FTP non-root access

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

FTP non-root access

Postby hiken » 31. July 2009 10:56

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?
hiken
 
Posts: 3
Joined: 31. July 2009 10:53

Re: FTP non-root access

Postby hiken » 03. August 2009 12:52

noone???
hiken
 
Posts: 3
Joined: 31. July 2009 10:53

Re: FTP non-root access

Postby utan » 03. August 2009 16:00

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
You are invited to visit my site ...http://radioscatrachas.info

thanks a lot..
utan
 
Posts: 14
Joined: 02. June 2009 19:44

Re: FTP non-root access

Postby hiken » 04. August 2009 14:16

ok, lots of thnx mate. i can't try it right now, but when i do, i will post the results here. cheers.
hiken
 
Posts: 3
Joined: 31. July 2009 10:53


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests