Log unknown users path

This commit is contained in:
Bob Mottram committed 2024-05-25 19:11:50 +01:00
1 parent b132717efc
commit 5fa3a7928d
2 files changed
+9

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
journalctl -u epicyon | grep ' unknown users path' > .unknown_users_paths.txt
if [ ! -f .unknown_users_paths.txt ]; then
echo 'No unknown users paths'
else
cat .unknown_users_paths.txt
fi