On 12/2/26 7:37 pm, Hu via slurm-users wrote:
adding sticky bit for sstat fixed this. :)
I don't think you set the sticky bit, you set the setuid bit which means
everyone is now able to run sstat as if they are root.
That does not strike me as a good idea.
The man page for sstat https://slurm.schedmd.com/sstat.html says:
> For the root user, the sstat command displays job status data for
any job running on the system.
>
> For the non-root user, the sstat output is limited to the user's jobs.
So there's no way to (safely) do that I'm afraid.
All the best,
Chris
--
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]