diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2022-11-30 12:13:54 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-12-02 10:48:09 -0500 |
commit | 7f0d5fd93f6e3f04900903e775292b3d66531f60 (patch) | |
tree | 48dadedcb99c0149f340a82017d7a0f7afc908d8 /man/en | |
parent | d70f0a18d5dc632021e3aa5a84e60d4171772a48 (diff) | |
download | sos-7f0d5fd93f6e3f04900903e775292b3d66531f60.tar.gz |
[collect] Remove --sos-cmd option
Removes the `--sos-cmd` option for `sos collect`. Allowing passthru
options in this manner is inherently flawed, and any attempts at
sanitizing potentially malicious/dangerous values will always be a
losing battle. Instead, `sos collect` should leverage available `report`
options that are vetted and handled via the existing per-node
capabilities checks that is well-defined for explicit passthru options.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man/en')
-rw-r--r-- | man/en/sos-collect.1 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/man/en/sos-collect.1 b/man/en/sos-collect.1 index 2f60332b..cf590276 100644 --- a/man/en/sos-collect.1 +++ b/man/en/sos-collect.1 @@ -41,7 +41,6 @@ sos collect \- Collect sosreports from multiple (cluster) nodes [\-\-skip-files FILES] [\-s|\-\-sysroot SYSROOT] [\-\-ssh\-user SSH_USER] - [\-\-sos-cmd SOS_CMD] [\-t|\-\-threads THREADS] [\-\-timeout TIMEOUT] [\-\-transport TRANSPORT] @@ -339,15 +338,6 @@ sos collect will prompt for a sudo password for non-root users. \fB\-s\fR SYSROOT, \fB\-\-sysroot\fR SYSROOT Sosreport option. Specify an alternate root file system path. .TP -\fB\-\-sos-cmd\fR SOS_CMD -Define all options that sosreport should be run with on the nodes. This will -override any other commandline options as well as any options specified by a -cluster profile. - -The sosreport command will execute as 'sosreport --batch SOS_CMD'. The BATCH -option cannot be removed from the sosreport command as it is required to run -sosreport non-interactively for sos collect to function. -.TP \fB\-t\fR THREADS \fB\-\-threads\fR THREADS Report option. Specify the number of collection threads to run. |