Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 11-02-2009, 01:03 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 25

Rep: Reputation: 15
access limiting on web server

Hello, I'd like to bring up web hosting. Everything is clear for me, but I don't know how limit access. I installed vsftpd. And for clients I'll open ssh access. I don't know how to do that users can't see each other. Thanks.
Old 11-02-2009, 04:43 AM   #2
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
You need to enable CHROOT in vsftpd.

Add the following line in vsftpd.conf and restart the vsftpd daemon

Old 11-03-2009, 12:13 AM   #3
LQ Newbie
Registered: Sep 2008
Posts: 25

Original Poster
Rep: Reputation: 15
What about ssh?
Old 11-03-2009, 12:50 PM   #4
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
What version of FreeBSD? If 7.2-RELEASE or later, you have the ChrootDirectory directive available: sshd_config(5)

If an earlier FreeBSD version, you can run a more current sshd (with this feature) from ports: security/openssh-portable

That will keep them in a particular directory.


To hide their processes from one another, (as root) run:
# echo 'security.bsd.see_other_uids=0' >> /etc/sysctl.conf
And then:
# /etc/rc.d/sysctl reload

Last edited by anomie; 11-03-2009 at 12:51 PM.


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
Limiting access to web-pages by IP-address with PHP alienDog Programming 3 12-16-2008 09:10 AM
web access of remote server atiq Linux - Server 3 02-27-2007 07:27 AM
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM
Web Server denying access. cjkeeme Linux - Networking 4 05-15-2005 05:38 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration