diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2015-09-20 10:05:49 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2015-09-20 10:05:49 +0000 |
commit | 278deaf45bc6d79b8b18d0f33b0c7a4655372775 (patch) | |
tree | 4bfe9612ced8a94d820a7a625ec0a70bf3dc6188 /include/stdio.h | |
parent | e1501c563bde3fcc6a83f3df00c78a63c8a20b46 (diff) |
Add a set of flags to rmt(8) to make it run in a restricted mode,
designed to work with rdump(8) to remote disk.
-d <directory> confines rmt to operate within a single directory.
-r enforces read-only mode.
-w enforces write-only mode.
This is quite usable with public ssh key setup, e.g. having the following in .ssh/authorized/keys:
command="/etc/rmt -rd /backups/machine.example.conf",no-agent-forwarding,... ssh-rsa AAAAB3...
ok semarie@
Diffstat (limited to 'include/stdio.h')
0 files changed, 0 insertions, 0 deletions