This patch can be applied to tiger-2.2.4 to produce tiger-2.2.4p1. *** scripts/check_rhosts.orig Fri Apr 23 10:13:55 1999 --- scripts/check_rhosts Thu Jul 8 02:33:49 1999 *************** *** 36,42 **** # Verify that a config file exists there, and if it does # source it. # ! [ ! -r $basedir/config ] && { echo "--ERROR-- [init002e] No 'config' file in \`$basedir'." exit 1 } --- 36,42 ---- # Verify that a config file exists there, and if it does # source it. # ! [ ! -r "$basedir/config" ] && { echo "--ERROR-- [init002e] No 'config' file in \`$basedir'." exit 1 } *************** *** 104,113 **** { user="$1" file="$2" ! while read rhost ruser ! do ! check_entry "$user" "$rhost" "$ruser" ! done < "$file" } check_file() --- 104,128 ---- { user="$1" file="$2" ! ! # added #+@_ which should be valid characters. ! $AWK '/^[#\+@_a-zA-Z0-9\.\-\t ]*$/ {print}' < "$file" | ! { ! while read rhost ruser ! do ! check_entry "$user" "$rhost" "$ruser" ! done ! } ! ! # added #+@_ which should be valid characters. ! $AWK 'BEGIN {count = 0} !/^[#\+@_a-zA-Z0-9\.\-\t ]*$/ {count += 1} ! END {print count}' < "$file" | ! { ! read count ! if [ "$count" -ne 0 ];then ! message WARN rcmd015w "" "$count lines of user $user's .rhosts file were not checked because of invalid characters." ! fi ! } } check_file() *** doc/explain.idx.orig Thu Jul 8 02:42:50 1999 --- doc/explain.idx Tue Jun 1 00:28:13 1999 *************** *** 207,213 **** rcmd010i rhosts.txt 58 59 rcmd011f rhosts.txt 61 70 rcmd012f rhosts.txt 72 74 ! rcmd013w rhosts.txt 76 $ sig001e signature.txt 2 9 sig002a signature.txt 11 15 sig003w signature.txt 17 20 --- 207,214 ---- rcmd010i rhosts.txt 58 59 rcmd011f rhosts.txt 61 70 rcmd012f rhosts.txt 72 74 ! rcmd013w rhosts.txt 76 80 ! rcmd015w rhosts.txt 82 $ sig001e signature.txt 2 9 sig002a signature.txt 11 15 sig003w signature.txt 17 20 *** doc/rhosts.txt.orig Thu Jul 8 02:42:59 1999 --- doc/rhosts.txt Tue Jun 1 00:27:54 1999 *************** *** 78,80 **** --- 78,85 ---- a host with the character '#' as the first letter. Since an attempt to comment out an entry indicates that it is no longer needed, it should simply be deleted. + %rcmd015w + The indicated .rhosts file contains invalid characters, not expected + to be found in a .rhosts file. This file should be examined and the + invalid characters removed, as it may contain a typo or possibly a + command.