/usr/share/doc/pdsh/README.Debian is in pdsh 2.31-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | pdsh
----
Default rcmd module:
--------------------
The default rcmd module can be set in the configuration file
/etc/pdsh/rcmd_default. The file should contain one line with the
name of the rcmd module.
Genders:
--------
As of version 1.7.6-4, the debian pdsh package has support for LLNL genders
compiled in (debian package: genders). The aspect of genders that pdsh uses
is basically a mapping of attributes to hostnames. Then you can call
'pdsh -g attribute command', and the command will be run on all nodes
possessing that attribute. The attribute mapping is defined in the file
/etc/genders. See the genders documentation for specifics
(/usr/share/doc/genders if you have the genders package installed),
I recommend just peaking in the examples directory. There is a lot of
documentation on other features to wade through.
Setuid root:
------------
When pdsh makes rsh rcmd's it uses the rrservport() which requires super user
privileges. By default this package does not install pdsh setuid root, because
if an exploit was found in pdsh this could lead to an escalation of privileges
on local or remote systems. So by default only root will be able to use pdsh.
|