dcecp_hostvar man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

hostvar(8sdce)							hostvar(8sdce)

NAME
       hostvar - A dcecp task object that manages the security binary compati‐
       bility 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  informa‐
       tion.

DESCRIPTION
       The hostvar object allows you to easily set the security binary compat‐
       ibility attributes for the current host and to display the local host's
       cellname,  hostname,  and security binary compatibility attributes that
       are stored by the dced 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 cell in which the local host is registered.  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	opera‐
       tions.  The syntax is as follows: hostvar help [operation | -verbose]

       Options Displays information about the hostvar task 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 help 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 task 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 local
       host.  The syntax is as follows:
	hostvar set -secbinarycompat {on | off}

       Options 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. Binary compatibility allows applications linked
       with an archived libdce to share login contexts and credentials without
       loss of data.

       To prepare a host for the set operation, a number of steps need	to  be
       performed  first:  Verify  that	the  dced process is running in remote
       access mode (-r), then put the DCE daemon into partial service mode  by
       sending	 the   dced  process  the  correct  signal:  #	kill  -SIGUSR1
       pid_of_dced # Invoke dcecp with	the  -local  option:  #	 dcecp	-local
       dcecp>  As  the	machine	 principal  (usually root), modify ACLs on the
       local hostdata object to allow the self user access by using  the  fol‐
       lowing  dcecp  acl operations: dcecp> acl modify hostdata -change {user
       hosts/hostname/self criI} -local dcecp>	acl  modify  hostdata  -change
       {user  hosts/hostname/self  cdprw} -io -local dcecp> Put the DCE daemon
       back into full service mode with the following command: # kill -SIGUSR1
       pid_of_dced #

       Now,  as	 the  machine principal, you can set the hosts security binary
       compatibility value.

       You can disable binary compatibility on a  per-host  basis  to  achieve
       minor  performance gains and slightly smaller credentials files by set‐
       ting secbinarycompat to off.  If you enable binary compatibility	 after
       it  has	been  disabled, you must stop and start all DCE daemons and if
       you are using integrated login, log out and in.	See Planning and  Con‐
       figuring	 HP DCE for more information.  This operation returns an empty
       string on success.

       Privileges Required

       No special privileges are needed 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  syn‐
       tax  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 com‐
       mand 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 needed to use the hostvar show command.

       Examples

       dcecp>  hostvar show -all {cellname /.../gumby1} {hostname hosts/blech}
       {secbinarycompat on} dcecp>

RELATED INFORMATION
       Commands: dcecp(1m), dcecp_hostdata(1m), dced(1m).

								hostvar(8sdce)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net