Skip to content

Commit

Permalink
edit: edit DockerFile
Browse files Browse the repository at this point in the history
修改/usr/sbin/sshd操作权限
  • Loading branch information
Zherphy committed Dec 6, 2024
1 parent c9c3ee5 commit 3a1f155
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN chmod +x /begin.sh
RUN chmod 777 /etc/ssh/sshd_config
RUN chmod 777 /usr/sbin/sshd
RUN chmod 305 /etc/ssh/ssh_host_rsa_key
RUN chmod 305 /etc/ssh/ssh_host_ecdsa_key
RUN chmod 305 /etc/ssh/ssh_host_ed25519_key

WORKDIR /home/BigFiles
USER BigFiles
Expand Down

0 comments on commit 3a1f155

Please sign in to comment.