2 ################################################################################
5 # RCS: $Header: rootmail,v 1.1 97/04/21 14:27:10 defaria Exp $
6 # Description: Lists who receives root mail for a particular machine
7 # Author: Andrew DeFaria, California Language Labs
8 # Created: Mon Nov 13 16:14:30 1995
9 # Modified: Mon Nov 13 16:16:56 1995 (Andrew DeFaria) defaria@spock
10 # Language: Korn Shell
12 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
14 ################################################################################
15 if [ -x /app/appserver ]; then
22 print -u2 "Usage: $me: hostname"
29 elif [ $# -eq 1 ]; then
36 if [ "_$host" = "_" ]; then
37 if [ "$OS" = "10" ]; then
42 alias_file=$host/$path/aliases.local
44 if [ ! -f $alias_file ]; then
45 print -u2 "$me: Unable to find local alias file: $alias_file"
49 grep "^root" $alias_file