LinuxQuestions.org
Review your favorite Linux distribution.
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 02-18-2001, 06:37 PM   #1
flip-x
LQ Newbie
 
Registered: Feb 2001
Posts: 1

Rep: Reputation: 0
Post


does anyone know how to restrict a user to one folder without using chroot?
for example, when you ftp on ftp.xoom.com, you can log on using your l/p, and when you try to move up a directory, it drops you in your home directory again
i've tried using chmod and chown, but it never works ... i can restrict the whole shebang, but then they cannot access their subfolders
here's how it's set up:
/var/lib/apache/htdocs/members/memname
is an alias on the server so that www.x451.com/members/memname goes there
the problem is that when someone joins, it adds a user, but the user can browse the rest of the system
how do i restrict someone to just their folder? i tried using chroot, but i had to copy bash every time in order for them to be able to use ftp
PLEASE! HELP!
 
  


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
Restricting users to their home folder supervillan Linux - Newbie 2 04-08-2009 12:47 PM
Restricting users? sdouble Linux - Newbie 5 07-05-2006 07:48 PM
Restricting su to certain users roadin Suse/Novell 4 03-15-2005 01:17 PM
restricting logon hours to users? FiveFlat Linux - Networking 2 01-18-2004 02:43 PM
Restricting FTP Users mtellin Linux - Networking 1 02-28-2002 09:54 PM


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