From 32cc303c6bb9d4de5e13b571663b968240bf5eb4 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Mon, 4 Feb 2002 03:27:47 +0000 Subject: added .ssh/id_dsa .ssh/id_rsa to the list of files to check. --- cron-sh/security_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/security_check.sh') diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 0c895ca..2b300ba 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -56,7 +56,7 @@ fi if [[ ${CHECK_PERMS} == yes ]]; then # Files that should not be owned by someone else or readable. list=".netrc .rhosts .shosts .Xauthority .gnupg/secring.gpg \ -.pgp/secring.pgp .ssh/identity .ssh/random_seed" +.pgp/secring.pgp .ssh/identity .ssh/id_dsa .ssh/id_rsa .ssh/random_seed" awk -F: '/^[^+-]/ { print $1 " " $3 " " $6 }' /etc/passwd | while read username uid homedir; do for f in ${list} ; do -- cgit v1.2.1