Hi Philippe, Good thinking, but it looks like all these hooks also run as the user of the job. :/ Cheers, Max > On 14. Mar 2024, at 16:46, Philippe Grassia <pgrassia@xxxxxxxxxxx> wrote: > > 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/ > _______________________________________________ > 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/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature