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

Re: [HTCondor-users] Running a script on job start as root



seems like a job for https://htcondor.readthedocs.io/en/lts/admin-manual/hooks.html#job-hooks-that-modify-and-monitor-execution


On 3/14/24 7:54 AM, Fischer, Max (SCC) wrote:
Hi all,

We want to make some adjustments on each job start that require root (for a start, fiddle with cgroups cfs_quota_us). However, the USER_JOB_WRAPPER already runs as the user. We donât want to let the user run the adjustment program, so USER_JOB_WRAPPER  with sudo/setuid and friends is out of the question, too.

Is there any way to trigger a script as condor/root right when a job starts?

Cheers,
Max


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/