This would be good to setup a backup user account for rsnapshot on remote servers, at least until someone programs rsnapshot to use sudo. On 03/21/2015 12:49 PM, James Keener wrote: > SSH can limit the commands a user can run if you want them to run a > certain command only and not a shell in general > > ssh user@host dbdump > > would run the dbdump program, but they wouldn't be able to > > ssh user@host cat /etc/passwd > > because you didn't allow cat > > Jim > > On 03/21/2015 09:59 AM, John Lewis wrote: >> Does anybody know how to create a restricted shell? I need to create a >> restricted shell that is extended with a couple of commands so that I >> can do database dumping or file sharing using a protocol not supported >> by rssh without allowing for an interactive login. >> >>
Attachment:
signature.asc
Description: OpenPGP digital signature