Is it ok to zap .klogin? cheers David
Index: distrib/sets/lists/etc/mi =================================================================== RCS file: /cvs/src/distrib/sets/lists/etc/mi,v retrieving revision 1.162 diff -u -p -u -p -r1.162 mi --- distrib/sets/lists/etc/mi 24 Apr 2014 21:07:37 -0000 1.162 +++ distrib/sets/lists/etc/mi 29 Apr 2014 14:13:14 -0000 @@ -205,7 +205,6 @@ ./root/.Xdefaults ./root/.cshrc ./root/.cvsrc -./root/.klogin ./root/.login ./root/.profile ./var/crash/minfree Index: etc/Makefile =================================================================== RCS file: /cvs/src/etc/Makefile,v retrieving revision 1.356 diff -u -p -u -p -r1.356 Makefile --- etc/Makefile 24 Apr 2014 15:05:10 -0000 1.356 +++ etc/Makefile 29 Apr 2014 14:13:14 -0000 @@ -131,8 +131,6 @@ distribution-etc-root-var: distrib-dirs cd root; \ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ - ${INSTALL} -c -o root -g wheel -m 600 dot.klogin \ - ${DESTDIR}/root/.klogin; \ ${INSTALL} -c -o root -g wheel -m 644 dot.login \ ${DESTDIR}/root/.login; \ ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ Index: etc/changelist =================================================================== RCS file: /cvs/src/etc/changelist,v retrieving revision 1.86 diff -u -p -u -p -r1.86 changelist --- etc/changelist 22 Apr 2014 10:24:29 -0000 1.86 +++ etc/changelist 29 Apr 2014 14:13:14 -0000 @@ -153,7 +153,6 @@ /etc/ypldap.conf /root/.Xdefaults /root/.cshrc -/root/.klogin /root/.login /root/.profile /root/.rhosts Index: etc/mtree/special =================================================================== RCS file: /cvs/src/etc/mtree/special,v retrieving revision 1.103 diff -u -p -u -p -r1.103 special --- etc/mtree/special 22 Apr 2014 10:48:36 -0000 1.103 +++ etc/mtree/special 29 Apr 2014 14:13:17 -0000 @@ -118,7 +118,6 @@ uucp type=dir mode=0755 uname=root gnam root type=dir mode=0700 uname=root gname=wheel .cshrc type=file mode=0644 uname=root gname=wheel -.klogin type=file mode=0600 uname=root gname=wheel optional .login type=file mode=0644 uname=root gname=wheel .profile type=file mode=0644 uname=root gname=wheel .rhosts type=file mode=0600 uname=root gname=wheel optional Index: etc/root/dot.klogin =================================================================== RCS file: etc/root/dot.klogin diff -N etc/root/dot.klogin --- etc/root/dot.klogin 9 Jun 2002 06:15:15 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -# $OpenBSD: dot.klogin,v 1.4 2002/06/09 06:15:15 todd Exp $ - -#user1.root@your.realm.wherever -#user2.root@your.realm.wherever Index: libexec/security/security =================================================================== RCS file: /cvs/src/libexec/security/security,v retrieving revision 1.26 diff -u -p -u -p -r1.26 security --- libexec/security/security 21 Apr 2014 15:46:03 -0000 1.26 +++ libexec/security/security 29 Apr 2014 14:14:00 -0000 @@ -103,7 +103,7 @@ sub check_passwd { "\t by root; cannot check for existence " . "of alternate access files." or check_access_file "$home/.$_", $name - foreach qw(ssh rhosts shosts klogin); + foreach qw(ssh rhosts shosts); } nag $uid == 0 && $name ne 'root', "Login $name has a user ID of 0."; @@ -407,7 +407,7 @@ sub check_dot_writeable { return if $name =~ /^[+-]/; # skip YP lines foreach my $f (qw( .bashrc .bash_profile .bash_login .bash_logout .cshrc - .emacs .exrc .forward .fvwmrc .inputrc .klogin .kshrc .login + .emacs .exrc .forward .fvwmrc .inputrc .kshrc .login .logout .nexrc .profile .screenrc .ssh .ssh/config .ssh/authorized_keys .ssh/authorized_keys2 .ssh/environment .ssh/known_hosts .ssh/rc .tcshrc .twmrc .xsession .xinitrc