We're trying to audit the contents of hosts.equiv iff it exists on a server. However, no servers here have hosts.equiv and it seems that a) the examples we find list various differences in hosts.equiv possible formats, e.g.: + hostname username, +hostname username, @hostname -username... stuff like that, and b) we don't have a grammar for it already as of 7.0. Seems like it'd be tough to build a grammar for due to the unpredictability of the spaces after the -/.
I don't know much about how this file should look. Anyone out there come up against this before or have a grammar for it? Or am I missing something simple?
I don't see why this would be so bad. Use the hosts file grammar. The file should have:
key WS value WS value...
The key (first value) can be anything, including a single "+". Don't worry about the +/- signs. If there's a space, then you're setting a different config.