I have a CentOS linux web server in which I have multiple web sites. I have many website programmers now doing the coding for all the sites. How can I provide a key-based authentication for the programmers in such a way that they have access only to /home folder ? They should be able to access only all the files inside /home and able to modify it. This is cPanel server in which all the sites comes under /home directory. Currently they are using separate passwords for every site. If I could give access to my developer inside /home folder, they would be able to do edit all the sites easily rather than having separate password for each site (eg : /home/site1 or /home/site2). Please share your ideas on the same. Thanks,
On 05.11.2013 01:27, Gopu Krishnan wrote:> I have a CentOS linux web server in which I have multiple web sites. I > have > many website programmers now doing the coding for all the sites. How > can I > provide a key-based authentication for the programmers in such a way > that > they have access only to /home folder ? They should be able to access > only > all the files inside /home and able to modify it. This is cPanel > server in > which all the sites comes under /home directory. Currently they are > using > separate passwords for every site. If I could give access to my > developer > inside /home folder, they would be able to do edit all the sites > easily > rather than having separate password for each site (eg : /home/site1 > or > /home/site2). Please share your ideas on the same.Have a look at setfacl, it's the only thing that comes to mind which could work. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
From: Gopu Krishnan <gopukrishnantec at gmail.com>> I have a CentOS linux web server in which I have multiple web sites. I have > many website programmers now doing the coding for all the sites. How can I > provide a key-based authentication for the programmers in such a way that > they have access only to /home folder ? They should be able to access only > all the files inside /home and able to modify it. This is cPanel server in > which all the sites comes under /home directory. Currently they are using > separate passwords for every site. If I could give access to my developer > inside /home folder, they would be able to do edit all the sites easily > rather than having separate password for each site (eg : /home/site1 or > /home/site2).? Please share your ideas on the same.I do not know cPanel but what about all of them being part of the same group...? Then, give the correct permissions to the group. JD