Книга: 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
- The if and goto commands
- UUCP Transfers and Remote Execution
- Unconditional Execution
- Appendix A. Detailed explanations of special commands
- Basics of the iptables command
- Commands
- Creating CDs from the Command Line
- Using the kill Command to Control Processes
- The echo command
- Можно ли отказаться от Проводника? Мне удобнее работать с Total Commander, но Проводник все равно постоянно «висит» в па...
- Total Commander
- Основные возможности программы Total Commander