diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-01 23:37:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-11-01 23:37:43 +0000 |
commit | 62863183e41ce9f900e724f0327c4df1a7a4978d (patch) | |
tree | c1fd71ce28e887f17c5055a48d12fb8aa546d717 /usr.bin/rusers/rusers.1 | |
parent | e695132933c327a4fd7a0d0c87825d195bf65d79 (diff) |
Major overhaul.
Add protocol version 3 support. To avoid doing two separate broadcasts
(like the solaris client does) we now do the equivalent of clnt_broadcast()
ourselves and send both version 2 and 3 broadcasts. These are staggered
such that under normal circumstances the version 3 reply will be received
before the version 2 reply (which is what we want). Version 3 support
is important now that we have long user and host names in utmp.
Avoid potential duplicates on multihomed machines by storing all
the addresses we get back from gethostbyaddr(), not just a single
address.
Reduce the timeout from 1 minute to 30 seconds which is closer to
what Solaris uses and is generally more useful.
Check window width and take this into account when formatting lines
in -l mode.
Diffstat (limited to 'usr.bin/rusers/rusers.1')
-rw-r--r-- | usr.bin/rusers/rusers.1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rusers/rusers.1 b/usr.bin/rusers/rusers.1 index 640c1cb0a5a..b5e177b05c1 100644 --- a/usr.bin/rusers/rusers.1 +++ b/usr.bin/rusers/rusers.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rusers.1,v 1.9 2000/11/09 17:52:36 aaron Exp $ +.\" $OpenBSD: rusers.1,v 1.10 2001/11/01 23:37:42 millert Exp $ .\" .\" Copyright (c) 1983, 1990 The Regents of the University of California. .\" All rights reserved. @@ -54,8 +54,7 @@ the hostname with the names of the users currently logged on is printed on each line. The .Nm -command will wait for -one minute to catch late responders. +command will wait for 30 seconds to catch late responders. .Pp The options are as follows: .Bl -tag -width Ds |