With Slurm, there are use cases when a job is created using a specific uid or guid like so:
sudo slurm.srun --uid 1000 -N1 -l hostname
In this case, we are creating a job that will run the
hostname command using uid 1000.
Needless to say, this user switcharoo fails with an expected error
Unable to assume uid=1000
This should be possible with classic confinement, however, we’d prefer not to go that route.
With regular strict confinement, is it possible to run commands as users outside confinement?