Access Trust Subcommands

Adding host-based trusts provides many-to-one scripting solutions. Once a host equivalence relationship has been created with a client, users on that client can remotely execute commands on the SP without being prompted for a password.

TABLE B-19lists the commands related to trusted host relationships.

TABLE B-19Access Trust Subcommands

SubcommandDescription

access add trust Creates a host-based trust relationship for the specified host. access delete trust Removes a host-based trust relationship for the specified host.

access get trusts Requests a list of hosts involved in trust relationships with the SP.

Access Add Trust Subcommand

Description: Creates a host-based trust relationship for the specified host. Adding host-based trusts provides many-to-one scripting solutions. Once a host equivalence relationship has been created with a client, users on that client can remotely execute commands on the SP without being prompted for a password, provided one of the following conditions is met:

their login on the client has the same user name as a local user on the SP

their login on the client is in a directory-service group that is mapped to an SP administrative group

Format

Command format:

access add trust {-c --client} HOST {-k --keyfile} PUBLIC KEY FILE

TABLE B-20lists the arguments for this subcommand.

TABLE B-20Arguments for Subcommand access add trust

Arguments

Description

 

 

 

 

{-c

--client}

Specifies the host for which to create the relationship.

{-k

--keyfile}

Specifies the public key file.

 

 

 

 

Appendix B Access Commands 91

Page 113
Image 113
Sun Microsystems V40z, V20Z manual Access Trust Subcommands, Access Add Trust Subcommand