hostvar(8sdce)
NAME
hostvar - A dcecp task object that manages the security binary compatibility attributes
SYNOPSIS
hostvar help [operation | -verbose] hostvar operations hostvar set -secbinarycompat {on | off} hostvar show {-all | [-cellname] [-hostname] [-secbinarycompat]}
ARGUMENTS
The name of the hostvar operation for which to display help information.
DESCRIPTION
The hostvar object allows you to easily set the security binary compatibility attributes for the current host and to display the local host’s cell name, host name, and security binary compatibility attributes that are stored by the decd in the hostdata/dce_cf.db object.
The cell’s security server uses these compatibility attributes to determine the mode and state in which the local machine is operating.
ATTRIBUTES
The name of the local hosts cell. The name of the local host. The security binary compatibility attribute that enables (on) and disables (off) binary compatibility for statically linked versions of DCE.
OPERATIONS
hostvar help
Returns help information about the hostvar task object and its operations. The syntax is as follows: hostvar help [operation | -verbose]
Option Displays information about the hostvar object.
Used without an argument or option, the hostvar help command returns brief information about each hostvar operation. The optional operation argument is the name of an operation about which you want detailed information. Alternatively, you can use the -verbose option to display detailed information about the hostvar task object itself.
Privileges Required
No special privileges are needed to use the hostvar command.
Examples
dcecp> hostvar help set Sets the value of the specified host variable. show Returns the value of the specified host variable. help Prints a summary of command-line options. operations Returns a list of the valid operations for this command. dcecp>
hostvar operations
Returns a list of the operations supported by the hostvar object. The syntax is as follows: hostvar operations
The list of available operations is in alphabetical order except for help and operations, which are listed last.
Privileges Required
No special privileges are needed to use the hostvar operations command.
Examples
dcecp> hostvar operations set show help operations dcecp>
hostvar set
Sets the security binary compatibility value attribute for the current host. The syntax is as follows:
hostvar set -secbinarycompat {on | off}
Option Sets the security binary compatibility attribute on or off.
Under normal circumstances, secbinarycompat is set to on when DCE is configured, which allows binary compatibility between Version 1.2 and Versions 1.0.3 and 1.1. This allows applications linked with an archived libdce to share login contexts and credentials without loss of data.
You can disable binary compatibility on a per-host basis to achieve minor performance gains and slightly smaller credentials files by setting secbinarycompat to off. If you enable binary compatibility after it has been disabled, you must start and stop all DCE daemons and if you are using integrated login, log in and out. See Planning and Configuring HP DCE1.5 for more information. This operation returns an empty string on success.
Privileges Required
No special privileges are required to use the hostvar set command.
Examples
dcecp> hostvar set -secbinarycompat on dcecp>
hostvar show
Returns the values of the host attributes on the local host. The syntax is as follows: hostvar show {-all | [-cellname] [-hostname] [-secbinarycompat]}
Options Returns the values of all attributes. Returns the value of the cellname attribute. Returns the value of the hostname attribute. Returns the value of the secbinarycompat attribute.
The show operation makes it easy to view the attributes stored in the dced hostdata/dce_cf.db object. All the values returned by this command are from that object. Use the -all option to display all attributes; use individual options to display individual attributes.
Privileges Required
No special privileges are required.
Examples
dcecp> hostvar show -all {cellname /.../gumby1} {hostname hosts/blech} {secbinarycompat on} dcecp>
RELATED INFORMATION
Commands:
dcecp(1m), dcecp_hostdata(1m), dced(1m)
Hewlett-Packard Company — OSF DCE 1.1/HP DCE 1.5