1
0
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:
Klas Lindfors 2013-11-06 15:12:03 +01:00
parent 4e6a6b592d
commit 00d5985854

View File

@ -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!"