rcmd.cfg

Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 28 October 2008
Index Return to Main Contents

 

NAME

rcmd.cfg - configuration file for rcmd

 

SYNOPSIS

edrc/etc/rcmd.cfg

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the configuration file for the rcmd command.

 

FILEFORMAT

The fileformat is OPTION=VALUE

Between the OPTION, the = and the VALUE are no spaces.

Rows starting with a # are considered as comments.

You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.

 

OPTIONS

LOG
Log output dir of rcmd. If you specify a relative path name the path is relative to the root of the WA2L/edrc installation.

Example: LOG=/var/opt/edrc/log

Default: LOG=var/log

DIST_HOSTLIST
Space separated list of hosts. To this hosts the files specified on the command line will be distributed.

Example: EXEC_HOSTLIST="`hostlist`"

Default: -

START_USER
User that is allowed to start rcmd.

Example: START_USER=eroot

Default: START_USER=root

EXEC_USER
User used to connect to the target hosts. This user has to be allowed to switch to root on the target system using the correct security settings. See edrcsetup(1m) for more information.

Example: EXEC_USER=edrc

Default: EXEC_USER=edrc

EXEC_MODE
Comma separated list of modes used to connect to the target hosts. The supported modes are: rtools which result in the use of rcp and rsh or OpenSSH which results in the use of scp and ssh for distribution. If a comma separated list is provided, the connection initiation is made in the sequence specified. A pseudo distribution mode is default which results in the use of the EXEC_MODE specified in the configuration files remote_shell.cfg and remote_copy.cfg. It is not allowed to specify default as part of a comma separated list.

Example: EXEC_MODE=rtools,OpenSSH

Default: EXEC_MODE=rtools

EXEC_SHELL
This is the shell the entered commands will be executed on the host. The shell has to be Bourne Shell compatible if you turn SET_PATH to True.

Example: EXEC_SHELL=/bin/ksh

Default: EXEC_SHELL=/bin/sh

CONNECTION_RETRIES
Number of connection retries if the connection to the target host fails. This setting applies if -r without specifying a number of retries is used or if rcmd is called non-interactive.

Example: CONNECTION_RETRIES=5

Default: CONNECTION_RETRIES=2

RETRY_INTERVAL
Seconds between retry attempts.

Example: RETRY_INTERVAL=10

Default: RETRY_INTERVAL=8

SET_PATH
The shell has to be Bourne Shell compatible if you turn SET_PATH to True. If you set SET_PATH to True, the contents of the local $PATH variable will be appended to the $PATH variable on the remote system.

Example: SET_PATH=True

Default: SET_PATH=False

SET_UMASK
If set to True the umask on the remote system will be set as it is set on the local system.

Example: SET_UMASK=True

Default: SET_UMASK=False

SUMMARY
If set to True at the end of the remote command execution a state summary is printed. If set to False the summary is not printed.

Example: SUMMARY=True

Default: SUMMARY=False

 

SEE ALSO

edrcintro(1), edrcsetup(1m), rcmd(1), hostlist(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

rcmd.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2008 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:21 GMT, March 08, 2025