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

setservername(8)

NAME

setservername - Changes the name of an ASU PDC, BDC, or member server

SYNOPSIS

/usr/sbin/setservername [-n newname[-p password-a administrator] [-s]]

OPTIONS

-n newname The new server name. -p password The password for the administrative account. -a administrator The name of the administrative account. -s Prevents the server from starting automatically.

DESCRIPTION

You use the setservername command to change the name of an ASU server. The setservername command is an interactive command, but it also accepts command line arguments. If an error occurs during processing or if you interrupt the setservername command, the original server name is restored. If you are changing the name of a BDC or a member server, the PDC must be running on the network and you must supply the name of an existing domain administrative account and password if a computer account with the new server name does not exist. You must provide administrative account information because the setservername command must connect to the PDC, create the new computer account, and remove the old computer account. If a computer account exists with the new server name, you are not prompted for an administrative account and password and the setservername command does not remove the old computer account. You must be logged in as root to use the setservername command.

EXAMPLES

If a server is a BDC named sales_bdc in the domain sales, and you want to rename the BDC to sales2, you can use either the setservername command and respond to prompts, or you can enter the following command: # setservername -n sales2 -p pass1 -a admin1 -s

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