After our web server crash becouse of the (assumebly intentionaly deployed) linuxrst.b i have taken over the server administration from a guy that doesent work here anymore... the situation was critical, server was down, it needed to be set up fast...
anyway we got it all working and brought the server back to our remote location... sometime later, i figure out that if you setup a php application on the server, users can access and delete files on other user accounts...
all the fs access rights are set up right, and users are chrooted to their home directories...
i would asume that they can access and delete other files becouse they access the system as the apache user, but how can you set up apache to run on each domain as a system user of that domain and not as apache user... or is there another way of fixing this?
i know i could .htaccess the apache root dir, but that would only permit them from browsing the root dir, but could still get em access to other dirs if they inputed the path, right?
anyway im a bit new to apache, and i needed to learn fast, ive set a ton of things up but yeah, im totaly clueless about some, so i really hope that someone helps me fix this issue before somebody besides me discovers it =D
anyway we got it all working and brought the server back to our remote location... sometime later, i figure out that if you setup a php application on the server, users can access and delete files on other user accounts...
all the fs access rights are set up right, and users are chrooted to their home directories...
i would asume that they can access and delete other files becouse they access the system as the apache user, but how can you set up apache to run on each domain as a system user of that domain and not as apache user... or is there another way of fixing this?
i know i could .htaccess the apache root dir, but that would only permit them from browsing the root dir, but could still get em access to other dirs if they inputed the path, right?
anyway im a bit new to apache, and i needed to learn fast, ive set a ton of things up but yeah, im totaly clueless about some, so i really hope that someone helps me fix this issue before somebody besides me discovers it =D
