ZLOCATE(1) | General Commands Manual | ZLOCATE(1) |
zlocate - find a user using Zephyr
zlocate [ -a | -d ] [ -1 ] [ -p ] user ...
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).
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.
zlocate exits with status zero (0) if at least one user was found, and one (1) if no users were found.
zctl(1), zephyr(1), znol(1), zwgc(1), zhm(8), zephyrd(8), X(1)
Project Athena Technical Plan Section E.4.1, `Zephyr Notification Service'
Robert S. French (MIT-Project Athena)
Marc Horowitz (MIT-Project Athena)
Copyright (c) 1987,1988 by the Massachusetts Institute of
Technology. All Rights Reserved.
zephyr(1) specifies the terms and conditions for redistribution.
April 17, 1990 | MIT Project Athena |