newgrp
Switch primary group membership. More information: <https://manned.org/newgrp>.
RUN apt-get update && \
apt-get install -y login
RUN apt-get update && \
apt-get install -y login
RUN apk add util-linux
RUN pacman -S --noconfirm util-linux
RUN apt-get update && \
apt-get install -y login
RUN dnf install -y shadow-utils-2
RUN apt-get update && \
apt-get install -y login