#489787 rwho -a fails when >1000 users logged in

Package:
rwho
Source:
netkit-rwho
Description:
Clients to query the rwho server
Submitter:
Brian Ristuccia
Date:
2023-06-26 05:21:06 UTC
Severity:
normal
#489787#5
Date:
2008-07-07 19:20:31 UTC
From:
To:
in rwho/rwho.c at line 57, NUSERS is defined as 1000, then later used to
create a fixed size array of myutmp structures later in the source. At line
157, the program will bail out with an error if the number of logged in
users doesn't fit in the structure.

The default of 1000 is way too small for any decent sized network. Ideally
the information should be stored in a data structure which can grow with the
number of logged in users. Failing that, the constant should at least be
increased by an order of magnitude.

#489787#10
Date:
2023-06-26 05:16:50 UTC
From:
To:
The new rwho from ruptime, https://bugs.debian.org/1013361
has no such limit.

It is waiting in the new queue to get processed.