aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-04 03:27:47 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-04 03:27:47 +0000
commit32cc303c6bb9d4de5e13b571663b968240bf5eb4 (patch)
tree7d936d85e3745f9d13bfaa166f88cbd0f2b23cd7 /cron-sh
parent90f2f188bbd0e8b842bcec0ba158ac5353d21b26 (diff)
downloadmsec-32cc303c6bb9d4de5e13b571663b968240bf5eb4.tar
msec-32cc303c6bb9d4de5e13b571663b968240bf5eb4.tar.gz
msec-32cc303c6bb9d4de5e13b571663b968240bf5eb4.tar.bz2
msec-32cc303c6bb9d4de5e13b571663b968240bf5eb4.tar.xz
msec-32cc303c6bb9d4de5e13b571663b968240bf5eb4.zip
added .ssh/id_dsa .ssh/id_rsa to the list of files to check.
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/security_check.sh2
1 files changed, 1 insertions, 1 deletions
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