initial commit

This commit is contained in:
2021-02-10 22:02:15 +01:00
commit fbb97e1177

12
audit.sh Normal file
View File

@@ -0,0 +1,12 @@
#! /bin/bash
# list of user with authorized_keys
for userdir in /home/* ; do
user=$(basename $userdir)
test -f ${userdir}/.ssh/authorized_keys && (
echo -ne "$user : " ;
awk '{print $NF}' ${userdir}/.ssh/authorized_keys ;
)
done