LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-16-2006, 10:14 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 73
vsFTPd Help


Ok - I installed vsftpd on Debian and seems to be up and running. I kept the annonymous login enabled just because this is between friends I trust and nothing important will be on here.

I am assuming that vsftpd uses the "ftp" user account (/home/ftp) as the anon account, right? My question is based from what I have below, should anyone and everyone be able to upload to the the directories or is it locked down? I have not been able to add any data to the ftp server from another machine. I created the README file and those directories via SSH to that machine only.

Code:
cwilliams@shark:/home/ftp$ ls -la
total 24
drwxr-sr-x  5 root nogroup 4096 2006-10-16 01:47 .
drwxrwsr-x  4 root staff   4096 2006-10-16 01:14 ..
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 movies
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 music
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 pics
-rw-r--r--  1 root nogroup  688 2006-10-16 01:59 README.txt
 
Old 10-16-2006, 12:54 PM   #2
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
There's a setting in the config "Allow anonymous users to change (write?) files" that it looks like you forgot to set.
 
Old 10-17-2006, 07:21 AM   #3
ukjairaj
Member
 
Registered: Jun 2004
Location: Mumbai-India
Distribution: RHEL-4 Update 2 & Fedore Core 5
Posts: 40

Rep: Reputation: 15
From your list it seems that you have created those directories and files using root login. And also none of your directories are having write permission to group and others. So it may not be possible to write any new files into these folders. You may have to change it with chmod command.
 
Old 10-17-2006, 08:26 AM   #4
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
When you install vsftpd (obviously as root), it creates the "ftp" home directory by default so that is that way vsftpd decided it was to be done. I assume the only use for the "ftp" dir is for anonymous use and nothing more but I could be wrong.
 
Old 12-02-2006, 02:59 AM   #5
shashikant_m
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
vsftpd is dead but subsys is locked
 
  


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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 11:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 07:29 AM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 05:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 02:05 AM


All times are GMT -5. The time now is 10:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration