Mesos-slave is often run as root, so it has permissions to create/modify containers and setuid to run tasks as other users. If you have authentication setup (mesos-master --authenticate) and ACLs (mesos-master --acls), then you can set the run_tasks ACL to ensure only authorized frameworks can run tasks as root on the slaves. Mesos master doesn't need to be run as root, but it doesn't run any userland code itself, so it's not risky to run it as root.
On Wed, Jan 7, 2015 at 9:22 PM, Srinimurthy <[email protected]> wrote: > Is it a bad idea to install as root? > > > > On Jan 7, 2015, at 8:43 AM, Brian Devins <[email protected]> wrote: > > Try ls /etc/default/mesos instead > > From: Dan Dong <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Wednesday, January 7, 2015 at 11:38 AM > To: "[email protected]" <[email protected]> > Subject: Re: conf files location of mesos. > > Hi, All, > Thanks for your helps, I'm using version 0.21.0 of mesos. But I do not > see any of the dirs of 'etc' or 'var' under my build directory(and any > subdirs). What is the default conf files location for mesos 0.21.0? > > ls ~/mesos-0.21.0/build/ > 3rdparty bin config.log config.lt config.status ec2 include lib > libexec libtool Makefile mesos.pc mpi sbin share src > > Cheers, > Dan > > 2015-01-07 9:47 GMT-06:00 Tomas Barton <[email protected]>: > >> Hi Dan, >> >> this depends on your distribution. Mesosphere package comes with >> wrapper script which uses configuration >> placed in /etc/default/mesos and /etc/mesos-master, /etc/mesos-slave >> >> >> https://github.com/mesosphere/mesos-deb-packaging/blob/master/mesos-init-wrapper >> >> which distribution do you use? >> >> Tomas >> >> On 7 January 2015 at 16:23, Dan Dong <[email protected]> wrote: >> >>> Hi, >>> After installation of mesos on my cluster, where could I find the >>> location of configuration files? >>> E.g: mesos.conf, masters, slaves etc. I could not find any of them >>> under the prefix dir and subdirs (configure >>> --prefix=/home/dan/mesos-0.21.0/build/). Are there examples for the conf >>> files? Thanks! >>> >>> Cheers, >>> Dan >>> >>> >> > > > Brian Devins* |* Java Developer > [email protected] > > [image: Dealer.com] > >

