---
name: "parrot_whoami"
section: "1"
platform: "linux"
package: "coop-computing-tools"
version: "1:7.14.5-1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/parrot_whoami"
---

# parrot\_whoami(1)

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

## NAME

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

## SYNOPSIS

FCparrot\_whoami *\<path\>*FT

## DESCRIPTION

FCparrot\_whoamiFT 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

FCparrot\_whoamiFT 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) 2022 The University of Notre Dame.  This software is distributed under the GNU General Public License.  See the file COPYING for details.

## SEE ALSO

- •

  **Cooperative Computing Tools Documentation**

- •

  **Parrot User Manual**

- •

  **[parrot\_run(1)](/parrot_run/1.md)** **[parrot\_cp(1)](/parrot_cp/1.md)** **[parrot\_getacl(1)](/parrot_getacl/1.md)**  **[parrot\_setacl(1)](/parrot_setacl/1.md)**  **[parrot\_mkalloc(1)](/parrot_mkalloc/1.md)**  **[parrot\_lsalloc(1)](/parrot_lsalloc/1.md)**  **[parrot\_locate(1)](/parrot_locate/1.md)**  **[parrot\_timeout(1)](/parrot_timeout/1.md)**  **[parrot\_whoami(1)](/parrot_whoami/1.md)**  **[parrot\_mount(1)](/parrot_mount/1.md)**  **[parrot\_md5(1)](/parrot_md5/1.md)**  **[parrot\_package\_create(1)](/parrot_package_create/1.md)**  **[parrot\_package\_run(1)](/parrot_package_run/1.md)**  **[chroot\_package\_run(1)](/chroot_package_run/1.md)**
