Re: [slurm-users] slurmrestd configuration

2021-04-09 Thread Simone Riggi
Thanks Ward. I did the following: $ slurmrestd unix:/var/run/slurmrestd.socket -a rest_auth/local -s v0.0.36 -vvv and to test the response: $ curl --unix-socket /var/run/slurmrestd.socket localhost/slurm/v0.0.36/ping (here "localhost" can be whatever character, need to check --unix-socket cu

Re: [slurm-users] slurmrestd configuration

2021-04-09 Thread Ward Poelmans
Hi Simone, On 8/04/2021 23:23, Simone Riggi wrote: > $ scontrol token lifespan=7200 username=riggi > > How can I configure and test the other auth method (local)? I am using > jwt at the moment. > I would like a user to be always authorized to use the rest API.  local means socket (so you don't