home | list info | list archive | date index | thread index

strange difference with "usermod" between ubuntu and debian?

  maybe i'm screwing up, but i just tripped over what seems to be a
notable difference in the behaviour of "usermod" between ubuntu and
debian.

  with ubuntu, after i installed docker-ce and wanted to be able to
run docker without "sudo", i would add myself to the docker group
with:

  $ sudo usermod -aG docker rpjday

i could see i was now listed as such in /etc/group but, obviously,
that did not take effect in the current terminal -- i would log out
and log back in and i would now be in the docker group, as shown by
"id" and "groups" and all was good.

  with debian, after i ran that "usermod" command, even after i logged
out and back in again, i was not effectively in the docker group (even
though i was listed as such in /etc/group). instead, i had to reboot
the machine entirely, and *then* i was shown in the docker group.

  does this make any sense? it's a very disturbing difference if true.

rday

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org