parrot_whoami(1) | Cooperative Computing Tools | parrot_whoami(1) |
parrot_whoami - returns the user's credentials (id and authentication method) from the perspective of the system being accessed.
parrot_whoami <path>
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.
parrot_whoami has no options.
On success, returns zero. On failure, returns non-zero.
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
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.
CCTools 7.0.9 FINAL |