Files
epicyon/scripts/unauthorized
T

7 lines
181 B
Bash
Raw Normal View History

2021-06-18 12:57:09 +01:00
#!/bin/bash
2023-08-28 19:01:16 +01:00
journalctl -u epicyon | grep 'unauthorized ' > .unauthorized.txt
2021-06-18 12:57:09 +01:00
if [ ! -f .unauthorized.txt ]; then
echo 'No unauthorized events'
else
cat .unauthorized.txt
fi