Scroll to navigation

parrot_whoami(1) Cooperative Computing Tools parrot_whoami(1)

NAME

parrot_whoami - returns the user's credentials (id and authentication method) from the perspective of the system being accessed.

SYNOPSIS

parrot_whoami <path>

DESCRIPTION

parrot_whoami interrogates the system being accessed at <path> and returns the user's id from the perspective of that system as well as the authentication method being used. The specific results depend on the system being accessed.

If <path> is not provided the current working directory is used.

OPTIONS

parrot_whoami has no options.

EXIT STATUS

On success, returns zero. On failure, returns non-zero.

EXAMPLES

To get the user's credentials when accessing a remote chirp server:
% parrot_run parrot_whoami /chirp/server.nd.edu/joe_data/data
unix:joe
    

If you're working within a remote directory, <path> is not necessary:

% parrot_run tcsh
% cd /chirp/server.nd.edu/joe_data/data
% parrot_whoami
unix:joe
% exit
    

COPYRIGHT

The Cooperative Computing Tools are Copyright (C) 2003-2004 Douglas Thain and Copyright (C) 2005-2015 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

SEE ALSO

CCTools 7.0.9 FINAL