#931205 chkrootkit: Honor Single Unix Specification (SUS) by allowing multiple arguments to be grouped behind single `-` #931205
- Package:
- chkrootkit
- Source:
- chkrootkit
- Description:
- rootkit detector
- Submitter:
- Avinash Sonawane
- Date:
- 2023-11-12 11:06:03 UTC
- Severity:
- normal
- Tags:
Dear Maintainer,
As per SUS Utility syntax guideline 5[0], command-line utility should allow
multiple arguments to be grouped behind single `-` delimiter.
I have yet to come across the *nix utility which doesn't follow this
convention. Can we please honor the Single Unix Specification?
[0] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/
$ chkrootkit -qn
Usage: ./chkrootkit [options] [test ...]
Options:
-h show this help and exit
-V show version information and exit
-l show available tests and exit
-d debug
-q quiet mode
-x expert mode
-r dir use dir as the root directory
-p dir1:dir2:dirN path for the external commands used by chkrootkit
-n skip NFS mounted dirs
$ chkrootkit -q -n
<False positives>
$
allow This is a valid request and would be reasonably straightforward for someone to implement. The only complication is that Debian has added at least one option over the years ( -s) so implementing this will require changes to several other patches: it cant just be a simple patch to chkrootkit but needs to update any existing patch that touches options. So im not personally going to work on this any time soon. But patches are welcome.