Zmrcd: Difference between revisions
(Created page with "{{ZC}}{{Article Infobox|{{admin}}||{{ZCS 8.5}} {{ZCS 8.0}}|}} zmrcd is a script that restricts the commands that can be run as the "zimbra" user via ssh. = Program = The sc...") |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Zmrcd= | |||
{{KB|{{ZC}}|{{ZCS 8.5}}|{{ZCS 8.0}}|}} | |||
=Introduction= | |||
zmrcd is a script that restricts the commands that can be run as the "zimbra" user via ssh. | zmrcd is a script that restricts the commands that can be run as the "zimbra" user via ssh. | ||
= Program = | = Program = | ||
The script exists at the following location: | The script exists at the following location: | ||
/opt/zimbra/libexec/zmrcd | /opt/zimbra/libexec/zmrcd | ||
= Configuration = | = Configuration = | ||
This tool has no configuration options. | This tool has no configuration options. | ||
= Example = | = Example = | ||
This script is run by ZCS tools as part of normal operations like the following: | |||
This script is run like the following: | |||
echo "HOST:mail1.example.com status" | ssh -i ~/.ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@mail1.example.com "/opt/zimbra/libexec/zmrcd" | echo "HOST:mail1.example.com status" | ssh -i ~/.ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@mail1.example.com "/opt/zimbra/libexec/zmrcd" |
Latest revision as of 02:35, 11 July 2015
Zmrcd
Introduction
zmrcd is a script that restricts the commands that can be run as the "zimbra" user via ssh.
Program
The script exists at the following location:
/opt/zimbra/libexec/zmrcd
Configuration
This tool has no configuration options.
Example
This script is run by ZCS tools as part of normal operations like the following:
echo "HOST:mail1.example.com status" | ssh -i ~/.ssh/zimbra_identity -o strictHostKeyChecking=no zimbra@mail1.example.com "/opt/zimbra/libexec/zmrcd"