• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Vsftpd configuration

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Wed Apr 08, 2009 11:19 am    Post subject: Vsftpd configuration Reply with quote

Im new to ubuntu server. ive installed vsftpd via the command line. now i want to edit my config file to block anonymous login and have vsftpd get logins via a username and password. how do i do that in the file? also what directory is shared by default for ftp?
Back to top
View user's profile Send private message
rlong
Just Arrived
Just Arrived


Joined: 06 Mar 2009
Posts: 0
Location: Vancouver, Canada

Offline

PostPosted: Wed Apr 08, 2009 6:36 pm    Post subject: Reply with quote

Hi Duster,

I've not familiar with vsftpd but I've been running sftp services on Ubuntu Server for sometime using the ssh package. If you don't have your heart set on vsftpd specifically then you should be able to set up what you are trying to do very easily with the ssh package.

Code:
sudo apt-get install ssh
sudo useradd username


The server will then create the home directory (/home/username by default) for username and prompt you for a password for the new user. This user can then connect to your host at port 22 (this can be changed by editing /etc/ssh/sshd_config) using either ssh or sftp and log in using their username and password. They will only have access to their /home/username directory by default. I hope this is helpful.
Back to top
View user's profile Send private message Visit poster's website
duster
Just Arrived
Just Arrived


Joined: 06 May 2005
Posts: 0


Offline

PostPosted: Wed Apr 08, 2009 9:47 pm    Post subject: Reply with quote

well my goal was to have users just connect to the ftp via webbrowser and copy files from a ftp folder. i dont want them login into the server via ssh.
Back to top
View user's profile Send private message
rlong
Just Arrived
Just Arrived


Joined: 06 Mar 2009
Posts: 0
Location: Vancouver, Canada

Offline

PostPosted: Wed Apr 08, 2009 10:35 pm    Post subject: Reply with quote

Your users could login to an sftp folder using their browser by following the instructions above but if you want to make sure that they can ONLY use sftp and not ssh to login, follow the instructions in this thread to setup an sftp-only user group and add users to it:

http://ubuntuforums.org/showthread.php?t=1057657
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register