2N/A * Copyright 2001 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * hosts_ctl() combines common applications of the host access control 2N/A * library routines. It bundles its arguments then calls the hosts_access() 2N/A * access control checker. The host name and user name arguments should be 2N/A * empty strings, STRING_UNKNOWN or real data. If a match is found, the 2N/A * optional shell command is executed. 2N/A * Restriction: this interface does not pass enough information to support 2N/A * selective remote username lookups or selective hostname double checks. 2N/A * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 2N/A/* hosts_ctl - limited interface to the hosts_access() routine */