epicyon/scripts/unauthorized

8 lines
181 B
Plaintext
Raw Normal View History

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