Skip to content

Commit

Permalink
Matching system and OOD password
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Aug 15, 2023
1 parent 504a225 commit 69b365b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ RUN mkdir /etc/sysconfig/slurm \
/var/lib/slurmd/fed_mgr_state \
&& useradd -r --uid=990 slurm \
&& chown -R slurm:slurm /var/*/slurm* \
&& useradd -u 1000 rocky \
&& usermod -p 'openssl password' rocky
&& useradd -u 1000 rocky

VOLUME /etc/slurm
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
Expand Down
2 changes: 2 additions & 0 deletions image/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ then
chown root:root /home
chmod 755 /home

echo $OOD_PASS | passwd --stdin rocky

echo "---> Setting up ssh for user"

mkdir -p /home/rocky/.ssh
Expand Down

0 comments on commit 69b365b

Please sign in to comment.