SSH last login message entfernt
This commit is contained in:
@@ -39,8 +39,12 @@ RUN echo "python3 /usr/local/bin/systemd-hdtob.py &" >> /home/crime5/.profile \
|
|||||||
&& chown crime5:crime5 /home/crime5/.profile
|
&& chown crime5:crime5 /home/crime5/.profile
|
||||||
|
|
||||||
|
|
||||||
|
# SSH
|
||||||
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
||||||
RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config
|
RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config
|
||||||
|
RUN sed -i 's/^session\s\+optional\s\+pam_lastlog.so/#session optional pam_lastlog.so/' /etc/pam.d/login \
|
||||||
|
&& sed -i 's/^session\s\+optional\s\+pam_lastlog.so/#session optional pam_lastlog.so/' /etc/pam.d/sshd
|
||||||
|
|
||||||
|
|
||||||
# Level1
|
# Level1
|
||||||
COPY /Level/Level1/Chat.txt /home/crime1/.Chats/Chat.txt
|
COPY /Level/Level1/Chat.txt /home/crime1/.Chats/Chat.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user