challenge: Override passwd to include a timer (for shadow upload)
This commit is contained in:
parent
24e7005e41
commit
7b1cf513a5
@ -71,5 +71,6 @@ COPY --from=mirror /out/ /
|
||||
|
||||
COPY ssl/ec_cert.pem /usr/share/ca-certificates/nemunai.re/cert.pem
|
||||
COPY lib/ /lib/
|
||||
COPY passwd.sh /bin/passwd
|
||||
|
||||
RUN echo "nemunai.re/cert.pem" >> /etc/ca-certificates.conf && update-ca-certificates
|
||||
|
9
pkg/challenge/passwd.sh
Executable file
9
pkg/challenge/passwd.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/passwd
|
||||
for i in $(seq 12)
|
||||
do
|
||||
echo -n .
|
||||
sleep 0.4
|
||||
done
|
||||
echo
|
Reference in New Issue
Block a user