Click to See Complete Forum and Search --> : users/groups
mandreko
11-23-2000, 12:07 AM
i have these files that a friend of mine and I are working on. It is in /home/files
I need him to be able to log onto my server and edit them, even download them through proftpd if needed. But i need to be able to access them too, without root access.
How can i set the user/group properties so that both of us can read, write, and execute these files?
bleg26
11-23-2000, 12:16 AM
I'm not positive, but make a new group(share, for example), and have everyone who needs to access those files part of that group. Then change the group properties of the files/directorys to the new group you just made.
Like I said, I'm not sure if it'll work, but give it a try.
bleg26
Sweede
11-23-2000, 12:18 AM
if your using proftpd as the server, compile with
--with-module=mod_linuxprivs (check the /contrib/ directory to be sure).
then in your proftpd password file (you'll have to make one yourself, if you need help, i'll show you how), specify the owner UID and GID of the files your accessing.
that is seperate from the user that you log in with.
you'll have to disable PAM though, and add users for each user on the system.
on second thought, i'll write up a proftpd NHF with various setups also.
apache, mysql and proftpd nhfs..
i guess i should get to work on them :\