From 06e9a61dc6ca42fb2b2a89d5af67164ac88ae76a Mon Sep 17 00:00:00 2001 From: todd <> Date: Fri, 22 Dec 2000 08:04:48 +0000 Subject: [PATCH] gnupg ring/data ownership/permission checking added; ok millert@ --- src/etc/security | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/etc/security b/src/etc/security index 5b940eea..56eea674 100644 --- a/src/etc/security +++ b/src/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.42 2000/12/17 22:35:19 marc Exp $ +# $OpenBSD: security,v 1.43 2000/12/22 08:04:48 todd Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -373,7 +373,8 @@ if [ -s $OUTPUT ] ; then fi # Files that should not be owned by someone else or readable. -list=".netrc .rhosts .pgp/secring.pgp .shosts .ssh/identity .ssh/random_seed" +list=".netrc .rhosts .gnupg/secring.gpg .gnupg/random_seed \ + .pgp/secring.pgp .shosts .ssh/identity .ssh/random_seed" awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ while read uid homedir; do for f in $list ; do