CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/09/20 04:05:48
Modified files:
usr.sbin/rmt : rmt.8 rmt.c
Log message:
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@