Added .k5login to the list of files that are checked in each user's

home directory.

Addresses PR: security/18000
This commit is contained in:
elric 2002-08-20 07:53:51 +00:00
parent a6315c15ad
commit 8efcaddaf6
1 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: security,v 1.78 2002/06/18 22:43:53 itojun Exp $
# $NetBSD: security,v 1.79 2002/08/20 07:53:51 elric Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@ -495,11 +495,12 @@ if checkyesno check_homes; then
# Files that should not be owned by someone else or writeable.
list=".bash_history .bash_login .bash_logout .bash_profile .bashrc \
.cshrc .emacs .exrc .forward .history .klogin .login .logout \
.profile .qmail .rc_history .rhosts .shosts ssh .tcshrc .twmrc \
.xinitrc .xsession .ssh/authorized_keys .ssh/authorized_keys2 \
.ssh/config .ssh/id_dsa.pub .ssh/id_rsa.pub .ssh/identity.pub \
.ssh/known_hosts .ssh/known_hosts2"
.cshrc .emacs .exrc .forward .history .k5login .klogin .login \
.logout .profile .qmail .rc_history .rhosts .shosts ssh .tcshrc \
.twmrc .xinitrc .xsession .ssh/authorized_keys \
.ssh/authorized_keys2 .ssh/config .ssh/id_dsa.pub \
.ssh/id_rsa.pub .ssh/identity.pub .ssh/known_hosts \
.ssh/known_hosts2"
while read uid homedir; do
for f in $list ; do
file=${homedir}/${f}