Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

grid-mapfile-check-consistency(8) [debian man page]

GRID-MAPFILE-CHECK(8)						  Globus Commands					     GRID-MAPFILE-CHECK(8)

NAME
grid-mapfile-check-consistency - Add an entry to a grid map file SYNOPSIS
grid-mapfile-check-consistency [-h] [-help] [-usage] [-version] grid-mapfile-check-consistency [-mapfile MAPFILE] | [-f MAPFILE] DESCRIPTION
The grid-mapfile-check-consistency program performs basic checks for validity of a gridmap file. These checks include checks for existence, duplication of entries, and valid local user names. If the gridmap file is valid, grid-mapfile-check-consistency exits with a zero exit code, otherwise it exits with a non-zero exit code. In either case, it displays information about its progress as it parses and validates the gridmap file. By default, grid-mapfile-check-consistency will check the gridmap file named by the GRIDMAP environment variable if present. If that variable is not set, it will check the file $HOME/.gridmap for non-root users if present. If that doesn't exist or grid-mapfile-check-consistency is run as root, it will then check /etc/grid-security/grid-mapfile. This can be changed by the use of the -mapfile or -f command-line options. The full set of command-line options to grid-mapfile-check-consistency are: -help, -h, -usage Display the command-line options to grid-mapfile-check-consistency. -version Display the version number of the grid-mapfile-check-consistency command. -mapfile MAPFILE, -f MAPFILE Check the gridmap file named by MAPFILE instead of the default. EXAMPLES
Check that the gridmap file in /etc/grid-security is valid: % grid-mapfile-check-consistency -f /etc/grid-security/grid-mapfile Checking /etc/grid-security/grid-mapfile Verifying grid mapfile existence...OK Checking for duplicate entries...OK Checking for valid user names...OK Check a gridmap file that has an invalid local user name: % grid-mapfile-check-consistency -f /etc/grid-security/grid-mapfile Checking /etc/grid-security/grid-mapfile Verifying grid mapfile existence...OK Checking for duplicate entries...OK ERROR: baduser is not a valid local username ERROR: Found 1 invalid username(s) ENVIRONMENT VARIABLES
The following environment variables affect the execution of grid-mapfile-check-consistency: GRIDMAP Path to the default gridmap to check. FILES
The following files affect the execution of grid-mapfile-check-consistency: $HOME/.gridmap Path to the default gridmap to check if the GRIDMAP environment variable is not set for non-root users. /etc/grid-security/grid-mapfile Path to the default gridmap to check if GRIDMAP environment variable is not set and the above file does not exist. SEE ALSO
grid-mapfile-add-entry(8), grid-mapfile-delete-entry(8) AUTHOR
University of Chicago Globus Toolkit 5.0.1 03/19/2010 GRID-MAPFILE-CHECK(8)

Check Out this Related Man Page

GRID-PROXY-INFO(1)						  Globus Commands						GRID-PROXY-INFO(1)

NAME
grid-proxy-info - Display information about a proxy certificate SYNOPSIS
grid-proxy-info [-help] [-usage] [-version] grid-proxy-info [[-subject] | [-s]] [[-issuer] | [-i]] [-identity] [-type] [-timeleft] [-strength] [-all] [-text] [-path] [-rfc2253] [{-exists | -e} [[-valid HOURS:MINUTES] | [-v HOURS:MINUTES]] [[-hours HOURS] | [-h HOURS]] [[-bits BITS] | [-b BITS]]] DESCRIPTION
The grid-proxy-info program extracts information from an X.509 proxy certificates, and optionally displays or returns an exit code based on that information. The default mode of operation is to print the following facts about the current user's default proxy: subject, issuer, identity, type, strength, path, and time left. If the command-line option -exists or -e is included in the command-line, nothing is printed unless one of the print options is specified. Instead, grid-proxy-info determines if a valid proxy exists and, if so, exits with the exit code 0; if a proxy does not exist or is not valid, grid-proxy-info exits with the exit code 1. Additional validity criteria can be added by using the -valid, -v, -hours, -h, -bits, or -b command-line options. If used, these options must occur after the -e or -exists command-line options. Those options are only valid if one of the -e or -exists command-line options is used. The complete set of command-line options to grid-proxy-info are: -help, -usage Display the command-line options to grid-proxy-info. -version Display the version number of the grid-proxy-info command -debug Display verbose error messages. -file PROXYFILE, -f PROXYFILE Read the proxy located in the file PROXYFILE instead of using the default proxy. -subject, -s Display the proxy certificate's subject distinguished name. -issuer, -i Display the proxy certificate issuer's distinguished name. -identity Display the proxy certificate's identity. For non-independent proxies, the identity is the subject of the certificate which issued the first proxy in the proxy chain. -type Display the type of proxy certificate. The type string includes the format ("legacy", "draft", or RFC 3280 compliant), identity type ("impersonation" or "independent"), and policy ("limited" or "full"). See grid-proxy-init(1) for information about how to create different types of proxies. -timeleft Display the number of seconds remaining until the proxy certificate expires. -strength Display the strength (in bits) of the key associated with the proxy certificate. -all Display the default information for the proxy when also using the -e or -exists command-line option. -text Display the proxy certificate contents to standard output, including policy information, issuer, public key, and modulus. -path Display the path to the file containing the default proxy certificate. -rfc2253 Display distinguished names for the subject, issuer, and identity using the string representation described in RFC 2253, instead of the legacy format. -exists, -e Perform an existence and validity check for the proxy. If a valid proxy exists and matches the criteria described by other command-line options (if any), exit with 0; otherwise, exit with 1. This option must be before other validity check predicate in the command-line options. If this option is specified, the output of the default facts about the proxy is disabled. Use the -all option to have the information displayed as well as the exit code set. -valid HOURS:MINUTES, -v HOURS:MINUTES, -hours HOURS, -h HOURS Check that the proxy certificate is valid for at least HOURS hours and MINUTES minutes. If it is not, grid-proxy-info will exit with exit code 1. -bits BITS, -b BITS Check that the proxy certificate key strength is at least BITS bits. ENVIRONMENT VARIABLES
The following environment variables affect the execution of grid-proxy-info: X509_USER_PROXY Path to the default user proxy. SEE ALSO
grid-proxy-init(1), grid-proxy-destroy(1) AUTHOR
University of Chicago Globus Toolkit 5.0.2 04/25/2011 GRID-PROXY-INFO(1)
Man Page