mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2025-01-22 07:52:14 +01:00
sudo when looking at logs
This commit is contained in:
parent
4e6a6b592d
commit
00d5985854
@ -50,8 +50,7 @@ set +e
|
||||
|
||||
curl --silent http://localhost/wsapi/decrypt?otp=idkfefrdhtrutjduvtcjbfeuvhehdvjjlbchtlenfgku | grep -q "^OK counter=0001 low=8d40 high=0f use=00"
|
||||
if [ $? != 0 ]; then
|
||||
tail /var/log/apache2/*
|
||||
tail /var/log/auth.log
|
||||
sudo tail /var/log/apache2/* /var/log/auth.log
|
||||
exit 1
|
||||
else
|
||||
echo "Success!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user