LinuxQuestions.org
Visit Jeremy's Blog.
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 05-22-2011, 12:20 PM   #1
mbonwick
LQ Newbie
 
Registered: Dec 2009
Posts: 22

Rep: Reputation: 0
vsftpd - Getting Set up


Hi all,

Just trying getting FTP set up on my ubuntu server as a test.

Got vsftpd installed OK, seems to work with anonamous access.
However, I'm aware of how insecure that is, especially given what I want to be sharing.

How do I go about setting up individual accounts and passwords for FTP?
Less of an issue, but how do I specify the home directory for the users as well? I want to be able to access the home folder and the entirity of a storage drive.

Thanks
 
Old 05-22-2011, 01:40 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,220
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Hi,

Take a look at this howto to see how to do what you want.

Regards
 
Old 05-22-2011, 04:48 PM   #3
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Quote:
Originally Posted by bathory View Post
Hi,

Take a look at this howto to see how to do what you want.

Regards
Excellent link!

 
Old 05-25-2011, 10:09 AM   #4
mbonwick
LQ Newbie
 
Registered: Dec 2009
Posts: 22

Original Poster
Rep: Reputation: 0
I'm not getting very far with this I'm afraid!
Found the official vsftpd guide was easier to follow

However, at Step 1 I get this:
michael@linuxserver:~$ sudo db4_load -T -t hash -f logins.txt /etc/vsftpd_login.db
sudo: db4_load: command not found
michael@linuxserver:~$ db4_load -T -t hash -f logins.txt /etc/vsftpd_login.db
db4_load: command not found

Same result if I try db_load or db3_load

Any bright ideas?
 
Old 05-25-2011, 11:56 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,220
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
sudo: db4_load: command not found
You need to install db4.6-util that provides /usr/bin/db4.6_load

Regards
 
Old 05-25-2011, 02:44 PM   #6
lcoronato
LQ Newbie
 
Registered: Jul 2009
Posts: 6

Rep: Reputation: 1
Is possible to take a example configuration file in /var/log/doc/vsftp*/, This example has comments about these configurations.
 
  


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
Problem trying to set up vsftpd in Centos 5.6 efilnei Linux - Server 4 04-19-2011 04:54 AM
vsftpd and pam - how would i set that up Carpo *BSD 0 01-15-2008 01:01 PM
Firewall set-up with vsftpd aquatux SUSE / openSUSE 2 07-29-2005 03:36 PM
vsftpd how to set password and user? djkoe Linux - Newbie 3 12-30-2003 09:35 AM
how do i set vsftpd user permissions USMC__KopfJager Linux - Security 5 12-29-2003 03:43 PM

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

All times are GMT -5. The time now is 05:57 PM.

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