Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] startd/schedd not running as root
- Date: Thu, 26 Aug 2004 11:19:15 -0500
- From: David Crim <David.Crim@xxxxxxxxxxxx>
- Subject: Re: [Condor-users] startd/schedd not running as root
According to the Condor manual V6.6.6, section 3.2.3.2, the suggested
method is to run Condor as root. This is what I want to happen. However,
since the daemons are switching to the uid condor and my jobs are
running as nobody, I would have to make my working directories writable
by user nobody, which is not an acceptable solution security wise.
How do I get the daemons to run as root so that the jobs can be run
under the uid of the submitter?
Dave
On Thu, 2004-08-26 at 10:10, A Nayar wrote:
> The jobs are run as user "condor" or whoever is the owner u specified when
> configuring condor. So condor or the owner must have permission to write in
> the working directory
>
> Arun
>
>
> On Thursday 26 August 2004 11:56 am, David Crim wrote:
> > I have configured a small group of desktop Linux boxes to test out
> > Condor 6.6.6. I have eleven systems running RedHat 7.3 configured. All
> > eleven are communicating with the master and reporting status. So far,
> > so good.
> >
> > When I submit a job to Condor, I get error messages like:
> >
> > 007 (060.000.000) 08/24 10:11:40 Shadow exception!
> > Error from starter on xxxx.xxxx.xxx.com: Failed to open standard
> > output file '/home/xxxxx/condor/uname/uname.out': Permission denied
> > (errno 13)
> > 0 - Run Bytes Sent By Job
> > 0 - Run Bytes Received By Job
> >
> >
> > I have to make the working directory world writable and either remove or
> > chmod the files uname.out and uname.error. If I remove them, they are
> > recreated as uid nobody. I realize that this is because my startd/schedd
> > daemons are running as condor instead of root. I can not figure out why
> > this is. I start condor_master as root, but the daemons all switch to
> > uid condor.
> >
> > How do I get these daemons to run as root so that jobs submitted to
> > Condor will run under the uid of the submitter?
> >
> > Thanks,
> >
> > Dave
> >
> > ----------- uname.sub -----------
> > ####################
> >
> > Executable = uname.sh
> > Universe = vanilla
> > #input = uname.data
> > output = uname.out
> > error = uname.error
> > Log = uname.log
> >
> > Queue
> >
> >
> > ----------- uname.sh -----------
> > #!/bin/bash
> >
> > /bin/uname -a
> >
> >
> > _______________________________________________
> > Condor-users mailing list
> > Condor-users@xxxxxxxxxxx
> > http://lists.cs.wisc.edu/mailman/listinfo/condor-users