summaryrefslogtreecommitdiff
path: root/include/nl_types.h
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2015-09-20 10:05:49 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2015-09-20 10:05:49 +0000
commit278deaf45bc6d79b8b18d0f33b0c7a4655372775 (patch)
tree4bfe9612ced8a94d820a7a625ec0a70bf3dc6188 /include/nl_types.h
parente1501c563bde3fcc6a83f3df00c78a63c8a20b46 (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/nl_types.h')
0 files changed, 0 insertions, 0 deletions