Index Index for
Section 8
Index Alphabetical
listing for S
Bottom of page Bottom of
page

setdomainname(8)

NAME

setdomainname - Changes the domain name for an ASU PDC or BDC. Allows a member server to join a domain or change domains without rebuilding the local user accounts database.

SYNOPSIS

/usr/sbin/setdomainname [-n domain_name] [-s] /usr/sbin/setdomainname [-d PDC -a administrative_account -p administrative_password] [-s]

OPTIONS

-d PDC Specifies the name of the primary domain controller (PDC) for the domain. Use this option only if the ASU server is configured as a member server. -a administrative_account Specifies the name of an administrative account in the domain. Use this only if the ASU server is configured as a member server. -p administrative_password Specifies the password for the specified administrative account. Use this option only if the ASU server is configured as a member server. -s Prevents the ASU server from starting automatically. -n domain_name Specifies the name of the domain. Use this option only if the ASU server is configured as a PDC or as a backup domain controller (BDC).

DESCRIPTION

You use the setdomainname command on a domain controller to change the name of the domain. You use the setdomainname command on a member server to change or join an existing domain without rebuilding the local user accounts database. The setdomainname command is an interactive command, but it also accepts command line arguments. You must enter the setdomainname command on each controller and server within a domain. Otherwise, domain-wide services will not work correctly. Enter the setdomainname command on the PDC first, then on BDCs and member servers. If an error occurs during processing or if you interrupt the setdomainname command, the original domain name is restored. You must be logged in as root to use the setdomainname command.

EXAMPLES

If a server is a PDC in a domain called sales, and you want to rename the domain to localsales, you can either enter the setdomainname command and respond to prompts, or you can enter the following command: # setdomainname -n localsales

Index Index for
Section 8
Index Alphabetical
listing for S
Top of page Top of
page