Re: shared gentoo linux hosting

Daniel Faber <[email protected]> Thu, 13 Oct 2005 17:59:15 +0200
Newsgroups gmane.linux.gentoo.admin
Message-ID <[email protected]>
On 13/10/05 17:28, Dmitry Lukashin wrote:

>>With ability to modify apache config & crontab for user using ssh
>>access?
> 
> Try to use <VirtualHost></VirtualHost> for each user in separate file.
> And change permission on that file to user you want allow editing it.

Don't do that unless you fully trust your users.  If they can modify
(parts of) the apache config without any control, they will be able to
do bad things with apache's permissions.  They can easily change any
file apache has write access to by just use such a file as logfile for
their vhost, for example.

I'm not an apache expert, but I think there are a lot more possibilities
to do bad things :-)  Maybe they can load self written apache modules
and then they will be able to do _anything_ apache can do.

> Same with crontabs

Common cron daemons use separate crontabs for each user, you don't have
to do anything to get the desired functionality.

Daniel
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDToRWiahpYzN1ZhkRAh5BAJ9/98GOdouRKI8QOr32vN73uvkulgCeNDuI
m9ME8F7N18Lgf7gBeYoE/J0=
=iqLN
-----END PGP SIGNATURE-----