Книга: Linux Network Administrator Guide, Second Edition

Command Execution

Command Execution

UUCP's task is to copy files from one system to another and to request execution of certain commands on remote hosts. Of course, you as an administrator would want to control what rights you grant other systems - allowing them to execute any command they choose on your system is definitely not a good idea.

By default, the only commands Taylor UUCP allows other systems to execute on your machine are rmail and rnews, which are commonly used to exchange email and Usenet News over UUCP. To change the set of commands for a particular system, you can use the commands keyword in the sys file. Similarly, you may want to limit the search path to just those directories containing the allowed commands. You can change the search path allowed for a remote host with the command-path statement. For instance, you may want to allow system pablo to execute the bsmtp command in addition to rmail and rnews:[99]

system          pablo
...
commands        rmail rnews bsmtp

Оглавление книги

Оглавление статьи/книги

Генерация: 0.968. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз