Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-18-2001, 06:37 PM   #1
LQ Newbie
Registered: Feb 2001
Posts: 1

Rep: Reputation: 0

does anyone know how to restrict a user to one folder without using chroot?
for example, when you ftp on, 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:
is an alias on the server so that 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


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 / openSUSE 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 08:22 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