parrot_whoami - returns the user's credentials (id and authentication method) from the perspective of the
Contents
Copyright
The Cooperative Computing Tools are Copyright (C) 2022 The University of Notre Dame. This software is
distributed under the GNU General Public License. See the file COPYING for details.
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.
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
Exit Status
On success, returns zero. On failure, returns non-zero.
Name
parrot_whoami - returns the user's credentials (id and authentication method) from the perspective of the
system being accessed.
Options
parrot_whoami has no options.
See Also
• CooperativeComputingToolsDocumentation
• ParrotUserManual
• parrot_run(1)parrot_cp(1)parrot_getacl(1)parrot_setacl(1)parrot_mkalloc(1)parrot_lsalloc(1)parrot_locate(1)parrot_timeout(1)parrot_whoami(1)parrot_mount(1)parrot_md5(1)parrot_pack‐age_create(1)parrot_package_run(1)chroot_package_run(1)
CCTools 7.14.5 FINAL parrot_whoami(1)
Synopsis
parrot_whoami <path>