LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-06-2011, 02:37 PM   #1
bigmo
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Simple standalone ftp server


Hi all,

I'm looking for a simple FTP server to run as non-root, standalone, and on demand. It's on a closed network, so security is not a concern (although file shares aren't an option... bit of a story, but just roll with it...). I just need to set the home folder, and the port. What are my options?

Now for the background. I used to run thttpd as a simple way to move files one direction, but I want to upload as well as download. (thttpd was very simple to get running - just pointed a config file at it, and away you go.) I tried and failed with vsftpd (the run_as_launching_user didn't help), and I've played with proftpd, but it looks like there area LOT of files scattered around the system that it depends on, so it might cause permission problems? Is there a quick-and-easy way to setup proftpd for it to work? Or do I have other ftp options?

Thanks
 
Old 09-06-2011, 02:42 PM   #2
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
I have always got along with VSFTPD (Very Secure FTP Daemon).

It's a small program, and only as secure as you want it to be. I use it on my production servers, but it's fine for any environment.

Once it's installed, the configuration file is usually at /etc/vsftpd.conf
 
0 members found this post helpful.
Old 09-06-2011, 02:58 PM   #3
bigmo
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kasl_33 View Post
...the configuration file is usually at /etc/vsftpd.conf
I did try to edit that config file with the run_as_launching_user option that the documentation talked about, but it still didn't work for me (when I tried to run it, it still said it needed to be run as root). Have you run vsftpd as non-root? What config options did you use?
 
Old 09-06-2011, 03:02 PM   #4
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
Quote:
Originally Posted by bigmo View Post
I did try to edit that config file with the run_as_launching_user option that the documentation talked about, but it still didn't work for me (when I tried to run it, it still said it needed to be run as root). Have you run vsftpd as non-root? What config options did you use?
I have never tried to run any server daemon as any user but the server user itself. The default user for VSFTPD is ftp (ftp is the actualy username).

Editing the /etc/vsftpd.conf file needs to be done as root. However, the program runs as a daemon (or service) that can be started automatically at boot or manually by the root user.
 
0 members found this post helpful.
Old 09-06-2011, 03:07 PM   #5
bigmo
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kasl_33 View Post
Editing the /etc/vsftpd.conf file needs to be done as root. However, the program runs as a daemon (or service) that can be started automatically at boot or manually by the root user.
That is what I tried, but I was only able to start the server as the root user, which is not what I'm looking for. Is anyone out there running an ftp server as non-root?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple secure ftp server ultagod Linux - Server 4 06-03-2016 05:41 AM
A Simple FTP Server wh33t Linux - Server 11 08-20-2010 11:06 PM
Simple FTP Server joewee SUSE / openSUSE 3 10-22-2006 03:14 PM
A Simple Ftp Server Suse??? Dimitriy Linux - Networking 5 06-09-2006 07:54 PM
Simple Ftp server recommendations Noved Linux - General 5 06-28-2002 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration