Copyright (C) 2000-2012 |
Manpages domainnameSection: Maintenance Commands (8)Updated: May 1999 Index Return to Main Contents NAMEdomainname - set or display name of current domainnisdomainname - set or display name of current NIS(YP) domain ypdomainname - set or display name of current NIS(YP) domain SYNOPSYSdomainname [ domain ]nisdomainname [ domain ] ypdomainname [ domain ] DESCRIPTIONWithout an argument, domainname displays the name of the current NIS domainname of the system. domainname uses the getdomainname(2) function for getting the domainname, nisdomainname and ypdomainname are using yp_get_default_domain(3).Only the super-user can set the name of the domain by specifying the new domain as an argument. All three programs uses setdomainname(2) for this. SEE ALSOgetdomainname(2), setdomainname(2), yp_get_default_domain(3), ypbind(8), ypcat(1), ypmatch(1), ypwhich(1), yppoll(8), ypserv(8), yset(8)AUTHORdomainname is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
IndexThis document was created by man2html, using the manual pages. Time: 00:46:51 GMT, April 19, 2024 |