*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> unregisterhost (3c)              
Title
Content
Arch
Section
 

Contents


UNREGISTERHOST(3N)					    UNREGISTERHOST(3N)


NAME    [Toc]    [Back]

     unregisterhost - remove the existing host entry in	NIS hosts database

SYNOPSIS    [Toc]    [Back]

     int unregisterhost(char *name, char *passwd);

DESCRIPTION    [Toc]    [Back]

     Unregisterhost sends an host name unregister request to registrar(1M) on
     NIS master	via the	yp_update(3R) call.  After successfully	completed, the
     host name will no longer be in the	NIS hosts database and its Internet
     address is	freed.	This routine should be used only when NIS is enabled
     in	the network.

     The arguments for the routine are:

	  name The host	name of	the entry to be	deleted.

	  passwd
	       The root	password of NIS	master.	If the NIS master does not
	       have root password, simply pass a NULL.

     Unregisterhost returns NULL when successfully completed.  All error codes
     are defined in <rpcsvc/ypclnt.h>.

     Unregisterhost always wait	until NIS databases are	pushed to all slave
     servers.

SEE ALSO    [Toc]    [Back]

      
      
     registrar(1M), yp_update(1M), registerinethost(3N), renamehost(3N),
     yppush(1M)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
renamehost IRIX rename the existing hostname in NIS hosts database
rcp Tru64 Copies files on the same host, between a local host and a remote host, and between two remote hosts
parremove HP-UX remove an existing partition
class_delete Tru64 remove a member from an existing scheduling class
dxhosts Tru64 Provides host management capabilities for local and remote hosts
hosts.equiv OpenBSD trusted remote hosts and host-user pairs
hosts.equiv HP-UX security files authorizing access by remote hosts and users on local host
rhosts HP-UX security files authorizing access by remote hosts and users on local host
.rhosts HP-UX security files authorizing access by remote hosts and users on local host
yp_host IRIX update NIS "hosts" database
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service