ankpan18 commited on
Commit
14d4f5a
·
1 Parent(s): 4215b03

changed Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/s
8
  # Set a password for the root user
9
  RUN echo "root:Changeme" | chpasswd
10
 
 
 
 
11
  # Create and change ownership of the /run/sshd directory
12
  USER root
13
  RUN mkdir /run/sshd
 
8
  # Set a password for the root user
9
  RUN echo "root:Changeme" | chpasswd
10
 
11
+ # Create the sshuser account
12
+ RUN useradd -m -s /bin/bash sshuser
13
+
14
  # Create and change ownership of the /run/sshd directory
15
  USER root
16
  RUN mkdir /run/sshd