LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-04-2003, 12:57 PM   #1
gdboling
LQ Newbie
 
Registered: Aug 2003
Posts: 18

Rep: Reputation: 0
One Directory, multiple users


I am wondering how to do group access to a directoy via FTP. I am using vsftp and rh9.

I have added a group, and added several users to this group. And now I want all these users to have access to a particular directory via FTP. The folder would be something like, /home/Common or something like that.

Thanks for any help.
 
Old 09-04-2003, 01:02 PM   #2
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 175

Rep: Reputation: 37
Aren't users who FTP into a host taken to the home directory listed in /etc/passwd by default?

Usually /home/userid, but you could use the command "usermod -d /home/common userid" to change it.

I am not familiar with your FTP server daemon (I use SFTP only these days) so take this with a grain of salt....
 
Old 09-04-2003, 01:06 PM   #3
gdboling
LQ Newbie
 
Registered: Aug 2003
Posts: 18

Original Poster
Rep: Reputation: 0
I don't want to change their home directory though.

Would it be better/easier just to give everyone the username and password for that directory instead of letting everyone have their own?

I will probably just do that.
 
Old 09-04-2003, 01:07 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
I'm not familiar with vsftp, but to change the local permissions to give the group users ownership issue this command, chgrp users /home/common . If you want to have the user and group that owns the directory read/write/execute issue the command chmod 770 /home/common. I beleive in most if not all FTP servers, you can setup permissions within the deamon itself.
 
Old 09-04-2003, 01:09 PM   #5
gdboling
LQ Newbie
 
Registered: Aug 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks Tom. I will try that out.
 
  


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
Sharing one home directory with multiple users cwolf78 Linux - Software 11 05-08-2005 06:58 PM
Multiple users with the same name...users command buldir Linux - General 2 08-30-2004 04:34 PM
multiple users windowsrefugeeX Linux - Software 2 08-21-2004 08:49 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 09:24 PM
Multiple users..... starea1 Linux - Security 3 01-29-2003 09:53 AM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
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