LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-18-2006, 12:20 PM   #1
creamridge
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Vsftp help limiting the anonymous users


trying to limit anonymous user to a directory, i added the line anon_root=/websites to the vsftpd which changed the root directory to /websites.

but i am having trouble getting the permissions right i guess. i have to users home directories in /websites aswell. i don't want the anonymous users to see in their home dirs. so i chmod the users home dir to 751, and the anonymous can see the directory, but not any files. which is fine, but now the user cannot see files either. any suggestions as to permissions or anything would be greatly appreciated...
 
Old 04-30-2006, 02:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
i have to users home directories in /websites aswell. i don't want the anonymous users to see in their home dirs.
I'd suggest separating directories. If you have users in /websites/$username, why not make anonymous' home /websites/anonymous?
 
Old 05-02-2006, 08:13 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,134
Blog Entries: 4

Rep: Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102Reputation: 4102
Absolutely... if you absolutely must allow anonymous users, treat them as you would any other account. They go to their own world, a more restrictive world, and are utterly confined to it.
 
Old 05-03-2006, 12:44 PM   #4
creamridge
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
thanks

thanks guys,
what i ended up doing was setting the anon-root to websites, then i chowned the home directories and chmoded aswell,i may have had to chgrp aswell, i forget. the anonymous users can no longer see what the aren't supposed too. just the stuff in the website directory. no need to make a seperate folder for anonymous user, that defeats the purpose of having stuff in the /websites directory.
 
  


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
Can't stop anonymous vsftp users lagu2653 Linux - Networking 2 11-17-2005 09:54 PM
vsftp anonymous downloads tgallina Linux - Networking 0 07-22-2004 10:43 AM
vsftp anonymous read access kwilliams0 Linux - Software 2 08-19-2003 04:57 PM
anonymous upload with vsftp rachuba Linux - Software 0 12-29-2002 06:39 PM
anonymous user can't login vsftp java8964 Linux - General 1 08-07-2002 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:57 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