Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
System Administrationdeletetag(1m)


NAME

 deletetag - remove the domain tag name associated with the domain

SYNOPSIS

 deletetag -d domain_indicator [-q] [-y|-n]
 deletetag -h

DESCRIPTION

 

deletetag(1M) removes the domain tag associated with the domain.

OPTIONS

 

The following options are supported:

-d domain_indicator
Specifies the domain using one of the following:

domain_id - ID for a domain. Valid domain_ids are A-R and are not case sensitive.

domain_tag - Name assigned to a domain using addtag(1M).

-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.
-n
Automatically answers no to all prompts. Prompts are displayed unless used with the -q option.
-q
Quiet. Suppresses all messages to stdout including prompts.

When used alone, -q defaults to the -n option for all prompts.

When used with either the -y or the -n option, -q suppresses all user prompts and automatically answers with either 'y' or 'n' based on the option chosen.

-y
Automatically answers yes to all prompts. Prompts are displayed unless used with the -q option.

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have platform administrator privileges to run this command.

Refer to Chapter 2, "SMS Security Options and Administrative Privileges" in the System Management Services (SMS) 1.4 Administrator Guide for more information.

EXAMPLES

 Example 1. Deleting Tag eng2 From the Domain to Which It Was Assigned
 
 
sc0:sms-user:> deletetag -d eng2 -qy

You are not prompted.

EXIT STATUS

 

The following exit values are returned:

0
Successful completion.
>0
An error occurred.

If the domain_id does not have a tag, no error is returned. deletetag(1M) is treated as successful.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes.

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

addtag(1m)


SMS 1.4Go To TopLast Changed 19 September 2003