Optional mandatory locking
Optional mandatory locking
Posted Dec 22, 2015 12:55 UTC (Tue) by oldtomas (guest, #72579)In reply to: Optional mandatory locking by nix
Parent article: Optional mandatory locking
So my hunch was right, thanks for clarifying that (gotta love the Unix Way :-)
> It can be more appealing than authorized_keys commands in some situations ([...] without frotzing with all their authorized_keys files)
The authorized_keys part serves a different and highly complementary purpose: if you want different clients to do different things depending on their identity (authentification + authorization). The possibility of "hooking in" is just a side-effect.
If you just want to hook in, perhaps substituting the sftp module by an "enhanced" one (which appropriately triggers things on transfer success/failure) would be most adequate, yes.