#!/usr/bin/awk -f
{
	if(/(telnet|shell|login|ssh|exec)/ && !/mosrun/)
		gsub("/usr/sbin/tcpd","/bin/mosrun -l -z &")
	print $0
}
