/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfr_2perday.sh | 34 ypxfr hosts.byname 35 ypxfr hosts.byaddr
|
H A D | multi.sh | 29 # Script to examine hosts file and make "magic" entries for 30 # those hosts that have multiple IP addresses. 37 MAP="hosts.byname" 39 USAGE="Usage: multi [-b] [-l] [-s] [-n] [hosts file] 41 -b Add YP_INTERDOMAIN flag to hosts map 43 -s Add YP_SECURE flag to hosts map 46 hosts file defaults to /etc/hosts" 74 HOSTS=/etc/hosts
|
H A D | ypinit.sh | 42 hosts_file=/etc/hosts 255 # Host should be in the v4 or v6 hosts file or 543 those hosts which are to be slave servers."
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | etrn.pl | 54 my @hosts = @ARGV; 59 if (!@hosts) { 60 push(@hosts, $hostname); 87 push(@hosts, $thishost) 100 push(@hosts, $thishost) 108 # Do this automatically if no client hosts are specified. 206 while (@hosts) { 207 $server = shift(@hosts);
|
/illumos-gate/usr/src/cmd/sendmail/cf/sh/ |
H A D | check-hostname.sh | 44 # Check the `getent hosts $1` output, skipping the 1st entry (IP address). 47 for host in `getent hosts $1 | awk '{for (f=2; f <= NF; f++) print $f}'` 53 # Parse /etc/hosts, looking for $1 as an entry by itself, and try to find 59 for entry in `sed -e 's/#.*$//' /etc/hosts | \ 77 # Check the `ypmatch $1 hosts` output, skipping the 1st entry (IP address). 80 for hst in `ypmatch $1 hosts | awk '{for (f=2; f <= NF; f++) print $f}'` 87 # $3 is the first entry for hosts in /etc/nsswitch.conf . 93 myipaddr=`getent hosts $myhost | head -1 | awk '{print $1}'` 98 set -- `grep "^$myipaddr[ ]" /etc/hosts 2>/dev/null` 103 echo "listing files first for hosts i [all...] |
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | net-svc | 165 # to change in the nsswitch.conf (hosts or ipnodes) to update with dns. 203 # also uncomment hosts and ipnodes entries which were previously commented 210 -e 's/^\(#hosts:\)\(.*[^#]\)\(#.*\)$/hosts: \2/' \ 218 # Remove any lines with the "# Added by DHCP" tag from /etc/inet/hosts. 227 }' /etc/inet/hosts > /tmp/hosts.$$ 228 mv_file /tmp/hosts.$$ /etc/inet/hosts 444 256 update_nss hosts [all...] |
H A D | net-nwam | 199 addr=`$GREP -iw $serv /etc/inet/hosts | \
|
/illumos-gate/usr/src/cmd/netfiles/ |
H A D | Makefile | 25 TXTS= nsswitch.conf netconfig hosts services 30 FILES= hosts services
|
H A D | nsswitch.conf | 27 # "hosts:" and "services:" in this file are used only if the 32 hosts: files
|
/illumos-gate/usr/src/cmd/cmd-inet/etc/ |
H A D | Makefile | 23 SYMPROG= hosts inetd.conf networks protocols services netmasks 60 $(SYMLINK) ./hosts $@
|
/illumos-gate/usr/src/man/man4/ |
H A D | Makefile | 79 hosts.4 \ 80 hosts.equiv.4 \ 227 hosts.allow.4 \ 228 hosts.deny.4 \ 270 rhosts.4 := LINKSRC = hosts.equiv.4 272 hosts.allow.4 := LINKSRC = hosts_access.4 273 hosts.deny.4 := LINKSRC = hosts_access.4
|
/illumos-gate/usr/src/cmd/initpkg/ |
H A D | nscd.conf | 31 # exec_attr, group, hosts, ipnodes, netmasks 36 # enable-cache hosts no 70 positive-time-to-live hosts 3600 71 negative-time-to-live hosts 5 72 keep-hot-count hosts 20 73 check-files hosts yes
|
/illumos-gate/usr/src/cmd/ypcmd/net_files/ |
H A D | Makefile | 36 # resolver for hosts not in the current domain. 41 # If the ipnodes (IPv6 hosts file) lives in a directory other than 81 all: passwd group hosts ipnodes ethers networks rpc services protocols \ 141 hosts.time: $(DIR)/hosts 142 @($(MULTI) $(B) -l $(DIR)/hosts); 143 @($(STDHOSTS) -w $(DIR)/hosts $(CHKPIPE))| \ 145 $(MAKEDBM) $(B) - $(YPDBDIR)/$(DOM)/hosts.byaddr; 146 @touch hosts.time; 147 @echo "updated hosts"; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 353 * Insert or append ARROW command to list of hosts to be updated. 356 insert(label, files, hosts, subcmds) 358 struct namelist *files, *hosts; 365 hosts = expand(hosts, E_ALL); 369 printf("insert: hosts = "); 370 prnames(hosts); 376 for (h = hosts; h != NULL; oldh = h, h = h->n_next, free(oldh)) {
|
H A D | main.c | 208 " hosts\n")); 425 struct namelist *files, *hosts; local 449 hosts = expand(&tnl, E_ALL); 464 printf("hosts = "); 465 prnames(hosts); 467 insert(NULL, files, hosts, cmds);
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 81 static struct hostlist_s *hosts; variable in typeref:struct:hostlist_s 360 hosts_prev = hosts; 362 hosts = hosts_new; 363 current_host = hosts; 366 DPRINT((dfile, "Configured %d hosts.\n", num_of_hosts)); 549 * - if all hosts where tried tries again for retries number of times 595 /* cycle over the hosts and possibly deliver the record */ 653 current_host = hosts; 663 (void) asprintf(&ext_error, "all hosts defined " 779 *error = strdup(gettext("no hosts configure [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsyncd.c | 75 char *hosts[MAXHOSTS]; member in struct:host_list_s 247 cleanup_hostlist(rdc_info); /* remove non-existent hosts */ 428 if (numfound == 0) /* no matching hosts */ 617 * of the thread who is looking for new hosts to spawn threads 1023 (host_list->hosts[i] == '\0')) { 1029 if (strcmp(host_list->hosts[i], host) == 0) 1036 exhost = host_list->hosts[i]; 1044 host_list->hosts[k] = k < host_list->numhosts - 1 ? 1045 host_list->hosts[k+1] : NULL; 1076 if (strcmp(host, host_list->hosts[ [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | hgsetup.sh | 126 possible_fqhns=$(getent hosts $my_hostname | cut -f 2-)
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaset.c | 411 int hosts = FALSE; local 445 if (meds == TRUE || hosts == TRUE) 454 hosts = TRUE; 459 if (hosts == TRUE || meds == TRUE) 472 if (hosts == TRUE || meds == TRUE) 487 if (auto_take && hosts != TRUE) 494 * Add hosts 496 if (hosts == TRUE) { 594 * can't add hosts to an existing set & enable 634 * If adding hosts t 977 int hosts = FALSE; local [all...] |
/illumos-gate/usr/src/cmd/tsol/misc/ |
H A D | txzonemgr.sh | 475 ipaddr=$(getent hosts $hostname|cut -f1) 506 ipaddr=$(getent hosts $hostname|cut -f1) 807 ipaddr=$(getent hosts $hostname|cut -f1) 820 # Update hosts 824 grep "^${ipaddr}[^0-9]" /etc/inet/hosts >/dev/null 826 print "$ipaddr\t$hostname" >> /etc/inet/hosts 1265 set -A ip $(getent hosts $(cat /etc/nodename)) 1365 grep "^${ldapserveraddr}[^0-9]" /etc/hosts > /dev/null 1367 print "$ldapserveraddr $ldapserver" >> /etc/hosts
|
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/ |
H A D | ypmap2src.sh | 107 hosts ) 108 MAP=${N2LPREFIX}hosts.byaddr 297 SRCFILE=hosts 309 # Sort the hosts ip addresses in ascending order 738 hosts.byaddr 762 ${N2LPREFIX}hosts.byaddr 868 ${N2LPREFIX}hosts.byaddr )
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 2038 char **hosts, **users, **domains; local 2047 &hosts, &users, &domains, 2058 STRVAL(hosts[i]), 2066 irp_marshall_ng_next(hosts[i], users[i], 2074 if (irp_marshall_ng_next(hosts[i], users[i],
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 31 * all the Solaris frontends to lookup hosts, services, and netdir information 40 * dictates hosts/serv lookup policy. 587 /* Failover case, try hosts db for v4 address */ 1021 /* Failover case, try hosts db for v4 address */ 2171 int hosts, servs, i, j; local 2181 for (hn = he->h_aliases, hosts = 1; hn && *hn; hn++, hosts++) {}; 2188 if ((hs = calloc(hosts * servs, sizeof (struct nd_hostserv))) == 0) { 2193 result->h_cnt = servs * hosts; 2196 for (i = 0, hn = he->h_aliases; i < hosts; [all...] |
/illumos-gate/usr/src/head/ |
H A D | metad.x | 420 stringarray hosts<>;
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_io.c | 405 ppvars->hosts = 0; 426 ppvars->hosts++; 630 "!notavl=%x, nodat=%x, cand=%x, hosts=%x," 634 ppvars->candidates, ppvars->hosts, ppvars->pests,
|