[slurm-users] User id inconsistency

Dustin Lang dstndstn at gmail.com
Mon Apr 19 11:56:49 UTC 2021


Sorry for my confusion, I shouldn't try to write emails before coffee!


On Mon, Apr 19, 2021 at 7:43 AM Bruno Gomes Pessanha <
bruno.pessanha at gmail.com> wrote:

> That is showing that I'm in different groups depending on how I run the
> command id.
>
> PS: I'm running the controller and workers in docker containers using
> privileged mode.
>
> Bruno
>
> On Mon, 19 Apr 2021 at 13:24, Dustin Lang <dstndstn at gmail.com> wrote:
>
>> This is telling you you're root in the docker container, right?
>>
>>
>>
>> On Mon, Apr 19, 2021 at 4:51 AM Bruno Gomes Pessanha <
>> bruno.pessanha at gmail.com> wrote:
>>
>>> Somebody could help me with this?
>>> Pretty strange behaviour. If I run "id: it shows different groups if I
>>> run "id myuser":
>>>
>>> [root at ctrl-slurm /]# srun --pty -p local --uid myuser bash
>>>
>>> [myuser at node-slurm /]$ id
>>> uid=868295925(myuser) gid=0(root) groups=0(root),979(cgred)
>>>
>>> [myuser at node-slurm /]$ id myuser
>>> uid=868295925(myuser) gid=1001(myuser) groups=1001(myuser),978(docker)
>>>
>>> --
>>> Bruno
>>>
>>
>
> --
> Bruno Gomes Pessanha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210419/8d7c5834/attachment.htm>


More information about the slurm-users mailing list