Skip to content

Commit

Permalink
Change the UID/GID of sssd
Browse files Browse the repository at this point in the history
  • Loading branch information
brianaydemir committed Jul 9, 2024
1 parent 340cd61 commit ea84152
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions notebooks/htc-datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN mkdir -p /usr/libexec \
# create the sssd user and group with explicit IDs rather than allowing
# packages to select arbitrary IDs.

RUN groupadd -r -g 996 sssd \
&& useradd -r -g sssd -u 996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
RUN groupadd -r -g 990 sssd \
&& useradd -r -g sssd -u 990 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
#
&& apt-get update \
&& apt-get install -y sssd \
Expand Down
4 changes: 2 additions & 2 deletions notebooks/htc-minimal-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN mkdir -p /usr/libexec \
# create the sssd user and group with explicit IDs rather than allowing
# packages to select arbitrary IDs.

RUN groupadd -r -g 996 sssd \
&& useradd -r -g sssd -u 996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
RUN groupadd -r -g 990 sssd \
&& useradd -r -g sssd -u 990 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
#
&& apt-get update \
&& apt-get install -y sssd \
Expand Down
4 changes: 2 additions & 2 deletions notebooks/htc-pytorch-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN mkdir -p /usr/libexec \
# create the sssd user and group with explicit IDs rather than allowing
# packages to select arbitrary IDs.

RUN groupadd -r -g 996 sssd \
&& useradd -r -g sssd -u 996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
RUN groupadd -r -g 990 sssd \
&& useradd -r -g sssd -u 990 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
#
&& apt-get update \
&& apt-get install -y sssd \
Expand Down
4 changes: 2 additions & 2 deletions notebooks/htc-tensorflow-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN mkdir -p /usr/libexec \
# create the sssd user and group with explicit IDs rather than allowing
# packages to select arbitrary IDs.

RUN groupadd -r -g 996 sssd \
&& useradd -r -g sssd -u 996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
RUN groupadd -r -g 990 sssd \
&& useradd -r -g sssd -u 990 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
#
&& apt-get update \
&& apt-get install -y sssd \
Expand Down
4 changes: 2 additions & 2 deletions template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ RUN mkdir -p /usr/libexec \
# create the sssd user and group with explicit IDs rather than allowing
# packages to select arbitrary IDs.

RUN groupadd -r -g 996 sssd \
&& useradd -r -g sssd -u 996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
RUN groupadd -r -g 990 sssd \
&& useradd -r -g sssd -u 990 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd \
#
&& apt-get update \
&& apt-get install -y sssd \
Expand Down

0 comments on commit ea84152

Please sign in to comment.