LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2006, 04:09 AM   #1
tbadone
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
ftp users setup


Hi

Need help with this scenario, am really stumped. I have 3 sets of ftp users where
1) user 1 can access /group/user1 directory only
2) user 2 can access /group/user2 directory only
3) user 3 can access /group/user1 /group/user2 and /group/user3 directories

How do I go about setting it up ? Any ideas is highly appreciated

Regards

tbadone
 
Old 04-21-2006, 01:16 PM   #2
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
First, create a group for each directory (for example, the 'user1dir', 'user2dir', and 'user3dir' groups). Now add user 1 to the user1dir group, user 2 to the user2dir group, and user 3 to the user1dir, user2dir, and user3dir groups. Now set the owning group of /group/user1 to user1dir and set the permissions properly (770, for example), and do the same for the other folders (/group/user2 should be owned by user2dir, and /group/user3 should be owned by user3dir). It's a lot less complex than I'm making it sound - basically, you're creating a group for each group of users, and giving that group access to each directory, custom groups can be great for setting permissions of multiple users at a time in this way.
 
Old 04-24-2006, 01:34 AM   #3
tbadone
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks will give a go burntfuse
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup FTP users only users on LInux Fedora Soujiro Linux - Newbie 8 09-13-2010 07:34 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
ftp users peteABK Linux - Software 0 05-22-2003 12:33 PM
Wu-FTP users??? jay3351 Linux - Networking 1 02-27-2003 12:39 PM
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 - General

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