
Hi Folks, Hoping to get some clarification as to what I'm missing here... I ran the following command: sudo usermod -aG docker ${USER} Which resulted in the following entry in /etc/group docker:x:133:bulwynkl OK, all nice and as it should be. su - bulwynkl then id shows I am a member of group docker. but. when I close terminal and restart it OR when I log out and log back in again and run terminal, the group hasn't taken. running id shows no docker group membership. once again - if I run su - bulwynkl, then id, I DO get docker group... so... what am I missing - presumably something is holding onto the old session data even for a logout? N.B. rebooting solved the issue. but that isn't very satisfactory - fine on a home laptop - annoying, but fine - less so on a production machine... IIUC, openning a new terminal SHOULD re-read the .bashrc &etc config files... -- Dr Paul van den Bergen

On 28/10/17 12:00, Paul van den Bergen via luv-main wrote:
sudo usermod -aG docker ${USER} when I log out and log back in again and run terminal, the group hasn't taken. running id shows no docker group membership. once again - if I run su - bulwynkl, then id, I DO get docker group...
It is the login which caches the groups, so you need to log out and back in. If you don't want to log out in the short term, you can just su back in to your own username from the terminal and you will get a temporary login with the new groups. Glenn -- pgp: 833A 67F6 1966 EF5F 7AF1 DFF6 75B7 5621 6D65 6D65

Hi Glenn, That's exactly what I did. Logged out, logged back in. Still hadn't updated the groups permissions for terminal. Hence the weirdness. FYI, using Gnome. On 28 Oct 2017 1:08 pm, "Glenn McIntosh via luv-main" <luv-main@luv.asn.au> wrote: On 28/10/17 12:00, Paul van den Bergen via luv-main wrote:
sudo usermod -aG docker ${USER} when I log out and log back in again and run terminal, the group hasn't taken. running id shows no docker group membership. once again - if I run su - bulwynkl, then id, I DO get docker group...
It is the login which caches the groups, so you need to log out and back in. If you don't want to log out in the short term, you can just su back in to your own username from the terminal and you will get a temporary login with the new groups. Glenn -- pgp: 833A 67F6 1966 EF5F 7AF1 DFF6 75B7 5621 6D65 6D65 _______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
participants (2)
-
Glenn McIntosh
-
Paul van den Bergen