---
name: "zlocate"
section: "1"
platform: "linux"
package: "zephyr-clients"
version: "3.1.2-1.1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zlocate"
---

# zlocate(1)

find a user using Zephyr

## NAME

zlocate - find a user using Zephyr

## SYNOPSIS

**zlocate** \[ **-a** \|  **-d** \] \[ **-1** \] \[ **-p** \] user ...

## DESCRIPTION

*Zlocate* uses the *Zephyr(1)* Notification Service to find where a user is currently logged in.  If the user is not logged in, or has set his location information such that you do not have access to see it, *zlocate* prints "Hidden or not logged-in".  Otherwise, each machine that the user is currently logged into is printed, along with the time of login and location.  The location is usually the X window system display name of the user's display, but may be the terminal name if he is not using X or for some other reason is only using the terminal interface to *[zwgc(1)](/zwgc/1.md).*

By default, all zlocate requests are authenticated using *Kerberos*. If you do not have Kerberos tickets, or for some other reason do not want to authenticate, the **-d** option will turn off authentication.  The **-a** option is the default, authentication on.

When locating multiple users, *zlocate* will display the user name on a line by itself, followed by the locations for that user. To display the user name on the same line as the output, use the **-1** option (the numeral one).

To look up multiple users in parallel asynchronously, use the **-p** option.

## DIAGNOSTICS

*zlocate* exits with status zero (0) if at least one user was found, and one (1) if no users were found.

## SEE ALSO

[zctl(1)](/zctl/1.md), [zephyr(1)](/zephyr/1.md), [znol(1)](/znol/1.md), [zwgc(1)](/zwgc/1.md), [zhm(8)](/zhm/8.md), [zephyrd(8)](/zephyrd/8.md), X(1)\
 Project Athena Technical Plan Section E.4.1, \`Zephyr Notification Service'

## AUTHORS

Robert S. French (MIT-Project Athena)\
 Marc Horowitz (MIT-Project Athena)

## RESTRICTIONS

Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. All Rights Reserved.\
 *[zephyr(1)](/zephyr/1.md)* specifies the terms and conditions for redistribution.
