version 1.44, 2001/01/31 19:12:10 |
version 1.45, 2001/03/16 15:38:13 |
|
|
|
|
# Files that should not be owned by someone else or readable. |
# Files that should not be owned by someone else or readable. |
list=".netrc .rhosts .gnupg/secring.gpg .gnupg/random_seed \ |
list=".netrc .rhosts .gnupg/secring.gpg .gnupg/random_seed \ |
.pgp/secring.pgp .shosts .ssh/identity .ssh/random_seed" |
.pgp/secring.pgp .shosts .ssh/identity .ssh/id_dsa .ssh/id_rsa" |
awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ |
awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ |
while read uid homedir; do |
while read uid homedir; do |
for f in $list ; do |
for f in $list ; do |
|
|
list=".bashrc .bash_profile .bash_login .bash_logout .cshrc \ |
list=".bashrc .bash_profile .bash_login .bash_logout .cshrc \ |
.emacs .exrc .forward .fvwmrc .inputrc .klogin .kshrc .login \ |
.emacs .exrc .forward .fvwmrc .inputrc .klogin .kshrc .login \ |
.logout .nexrc .profile .screenrc .ssh .ssh/config \ |
.logout .nexrc .profile .screenrc .ssh .ssh/config \ |
.ssh/authorized_keys .ssh/environment .ssh/known_hosts .ssh/rc \ |
.ssh/authorized_keys .ssh/authorized_keys2 .ssh/environment \ |
.tcshrc .twmrc .xsession .xinitrc .Xdefaults .Xauthority" |
.ssh/known_hosts .ssh/rc .tcshrc .twmrc .xsession .xinitrc \ |
|
.Xdefaults .Xauthority" |
awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ |
awk -F: '/^[^+-]/ { print $1 " " $6 }' /etc/passwd | \ |
while read uid homedir; do |
while read uid homedir; do |
for f in $list ; do |
for f in $list ; do |