myproxy-admin-addservice (8) - Linux Man Pages
myproxy-admin-addservice: add a user or service credential
NAMEmyproxy-admin-adduser - add a user or service credential
SYNOPSISmyproxy-admin-adduser [ options ]
DESCRIPTIONThe myproxy-admin-adduser and myproxy-admin-addservice commands create a new credential for a user or service and load it into the MyProxy repository. They are perl(1) scripts that run grid-cert-request (a standard Globus Toolkit program) and grid-ca-sign (from the Globus Simple CA package) to create the credential and then run myproxy-admin-load-credential(8) to load the credential into the MyProxy repository.
The command prompts for the common name to be included in the new certificate (if the -c argument is not specified), the Globus Simple CA key password for signing the certificate, the MyProxy username (if the -l or -d arguments are not specified), and the MyProxy passphrase for the credential. Most of the command-line options for this command are passed directly to the myproxy-admin-load-credential(8) command.
- Displays command usage text and exits.
- Displays command usage text and exits.
- Enables verbose debugging output to the terminal.
- -c cn
- Specifies the Common Name for the new credential (for example: "Jim Basney").
- -s dir
- Specifies the location of the credential storage directory. The directory must be accessible only by the user running the myproxy-server process for security reasons. Default: /var/lib/myproxy or /var/myproxy or $GLOBUS_LOCATION/var/myproxy
- -l username
- Specifies the MyProxy account under which the credential should be stored.
- -t hours
- Specifies the maximum lifetime of credentials retrieved from the myproxy-server(8) using the stored credential. Default: 12 hours
- -p CA-password
- Specifies the password for the CA's private key using the format documented in the PASS PHRASE ARGUMENTS section of openssl(1).
- Disables passphrase authentication for the stored credential. If specified, the command will not prompt for a passphrase, the credential will not be encrypted by a passphrase in the repository, and the credential will not be retrievable using passphrase authentication with myproxy-logon(1). This option is used for storing renewable credentials and is implied by -R.
- Use the certificate subject (DN) as the username.
- Allow credentials to be retrieved with just pass phrase authentication. By default, only entities with credentials that match the myproxy-server.config(5) default retriever policy may retrieve credentials. This option allows entities without existing credentials to retrieve a credential using pass phrase authentication by including "anonymous" in the set of allowed retrievers. The myproxy-server.config(5) server-wide policy must also allow "anonymous" clients for this option to have an effect.
- Allow credentials to be renewed by any client. Any client with a valid credential with a subject name that matches the stored credential may retrieve a new credential from the MyProxy repository if this option is given. Since this effectively defeats the purpose of proxy credential lifetimes, it is not recommended. It is included only for sake of completeness.
- -r name
- Allow the specified entity to retrieve credentials. See -x and -X options for controlling name matching behavior.
- -R name
- Allow the specified entity to renew credentials. See -x and -X options for controlling name matching behavior. This option implies -n since passphrase authentication is not used for credential renewal.
- -Z name, --retrievable_by_cert name
- Allow the specified entity to retrieve credentials without a passphrase. See -x and -X options for controlling name matching behavior. This option implies -n.
- Specifies that names used with following options -r, -R, and -Z will be matched against the full certificate subject distinguished name (DN) according to REGULAR EXPRESSIONS in myproxy-server.config(5).
- Specifies that names used with following options -r, -R, and -Z will be matched against the certificate subject common name (CN) according to REGULAR EXPRESSIONS in myproxy-server.config(5). For example, if an argument of -r "Jim Basney" is specified, then the resulting policy will be "*/CN=Jim Basney". This is the default behavior.
- -k name
- Specifies the credential name.
- -K description
- Specifies credential description.