hosting the jump creating users; finetuning
All checks were successful
Build OCI Containers / Build Containers (push) Successful in 1m40s
All checks were successful
Build OCI Containers / Build Containers (push) Successful in 1m40s
This commit is contained in:
parent
e2bc0a9ba9
commit
91c3584ee7
@ -7,7 +7,7 @@ COPY supervisord.conf /etc/supervisord.conf
|
||||
RUN apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get -y --purge autoremove && \
|
||||
apt-get -y install wget python3 python3-venv irssi neomutt ssh supervisor tmux && \
|
||||
apt-get -y install wget python3 python3-venv irssi neomutt ssh supervisor tmux vim && \
|
||||
apt-get -y clean && \
|
||||
touch /var/log/supervisord.log && \
|
||||
mkdir /var/run/sshd && \
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
for user in /jumphost_users/*; do
|
||||
uid=`cat /jumphost_users/${user}
|
||||
uid=`cat /jumphost_users/${user}`
|
||||
/usr/sbin/groupadd -g ${uid} ${user}
|
||||
/usr/sbin/useradd -d /home/${user} -m -s /bin/bash -u ${uid} -g ${uid} ${user}
|
||||
done
|
||||
Loading…
Reference in New Issue
Block a user