LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05: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



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 11:47 AM
Restricting users? sdouble Linux - Newbie 5 07-05-2006 06:48 PM
Restricting su to certain users roadin SUSE / openSUSE 4 03-15-2005 12:17 PM
restricting logon hours to users? FiveFlat Linux - Networking 2 01-18-2004 01:43 PM
Restricting FTP Users mtellin Linux - Networking 1 02-28-2002 08:54 PM

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

All times are GMT -5. The time now is 04:19 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
Open Source Consulting | Domain Registration