LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-22-2003, 07:12 PM   #1
maxhugen
LQ Newbie
 
Registered: Mar 2003
Location: Sydney, Australia
Distribution: Red Hat 7.1
Posts: 15

Rep: Reputation: 0
Restrict User to FTP Only


I have created a user "kcs" as a new Linux user, primary group "kcs", secondary group "ftp".

I would like to restrict this user to use only the ftp port 21, and restrict access to just one directory, so that they can upload files to this directory only, but not access any other directory.

I'm afraid I'm a bit confused as to how to achieve this. If anyone could kindly point me in the right direction, I'd be most grateful.


MTIA, Max
 
Old 10-23-2003, 09:52 AM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Something I found that might help...
http://www.linuxnetmag.com/en/issue7/m7secureftp1.html
 
Old 10-23-2003, 04:34 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
I vote for removing the user, setting up Vsftp with virtual users and chroot options. For more on Vsftp also see http://www.linuxquestions.org/questi...threadid=65393
 
Old 10-23-2003, 06:01 PM   #4
maxhugen
LQ Newbie
 
Registered: Mar 2003
Location: Sydney, Australia
Distribution: Red Hat 7.1
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks guys

I'll study up on both suggestions.


Ava gday!
 
  


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
restrict from internet/setup ftp, please help westverg Linux - Networking 4 12-02-2005 07:25 PM
how to restrict the user simi_virgo Linux - Newbie 2 02-25-2005 06:31 AM
can you restrict ftp USER access to certain ips? linuxboy69 Linux - Software 2 02-26-2004 04:05 PM
How to restrict user (FTP)? Rex_chaos Linux - Networking 2 03-19-2003 04:48 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

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

All times are GMT -5. The time now is 09:15 AM.

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