[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Is it possible to run administrative jobs under htcondor control?



On Tue, 2025-12-30 at 15:52 -0600, Tim Theisen wrote:
> Hello Valerio,
> 
> Please ask your questions in the HTCondor Users email list 
> htcondor-users@xxxxxxxxxxxx Or more privately at 
> htcondor-admin@xxxxxxxxxxxx
> 
> There is no way that HTCondor can run jobs as root. It is base 
> requirement of the system. Otherwise, system administrators would
> not 
> allow jobs from other sites on their systems.
> 
> The best that you can do, is run with a user that has sudo privileges
> to 
> do what you want.
> 
> https://www-auth.cs.wisc.edu/lists/htcondor-users/2014-November/msg00050.shtml
> 
> ...Tim

Even assigning uid=0,gid=0 to a regular user will not work, the
administrative command is submitted but will remain idle until you
remove it. Notice that there is no sudo installed by default on Debian.
Second option that I can think of: run slurm alongside HTCondor, just
give it 1 core only for running administrative tasks, the rest of cores
assigned to HTCondor Slots.

V.Bellizzomi


> On 12/25/25 12:56, Valerio Bellizzomi wrote:
> > Hi Tim,
> > I would like to test htcondor to run administrative tasks such as
> > system update (on Debian), I have attempted with
> > /etc/condor/condor_config.root file in the EP with the STARTD =
> > root
> > knob, but it did not work, then I have attempted with the knob
> > NOBODY_SLOT_USER = root in the EP configuration, but it did not
> > work
> > either.
> > Is it possible at all?
> > 
> > Thank you.
> > 
> > V.Bellizzomi
> > 
> >