=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/security,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- src/etc/Attic/security 1998/03/22 03:39:11 1.27 +++ src/etc/Attic/security 1998/05/10 18:11:04 1.28 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.27 1998/03/22 03:39:11 marc Exp $ +# $OpenBSD: security,v 1.28 1998/05/10 18:11:04 todd Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -355,7 +355,7 @@ fi # Files that should not be owned by someone else or readable. -list=".netrc .rhosts .shosts" +list=".netrc .rhosts .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 @@ -377,8 +377,11 @@ { print "user " $1 " " $2 " file is other writeable" }' > $OUTPUT # Files that should not be owned by someone else or writeable. -list=".bashrc .cshrc .emacs .exrc .forward .klogin .login .logout \ - .profile .tcshrc .kshrc .xsession" +list=".bashrc .bash_profile .bash_login .bash_logout .cshrc \ + .emacs .exrc .forward .fvwmrc .inputrc .klogin .kshrc .login \ + .logout .nexrc .profile .screenrc .ssh .ssh/config \ + .ssh/authorized_keys .ssh/environment .ssh/known_hosts .ssh/rc \ + .tcshrc .twmrc .xsession .xinitrc .Xdefaults .Xauthority" awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ while read uid homedir; do for f in $list ; do