Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2006, 12:20 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 2
Rep:
|
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...
|
|
|
04-30-2006, 02:41 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
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?
|
|
|
05-02-2006, 08:13 PM
|
#3
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,134
|
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.
|
|
|
05-03-2006, 12:44 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|