Add a "screen" subcommand to krbroot
authorAlex Dehnert <adehnert@mit.edu>
Sun, 21 Apr 2013 20:26:59 +0000 (16:26 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Sun, 21 Apr 2013 20:26:59 +0000 (16:26 -0400)
commitaa6f780a758a977cdcecee9ff45b3f428440a1b0
treeff76744442dfea5a23a1c106c89fb293556ec75d
parent988b4b4a5cbed11541df228483c61490b47e338d
Add a "screen" subcommand to krbroot

I have screen profiles for "all scripts web servers", "all scripts hosts",
etc., which means I often want to run screen with root tickets and pass it some
options. This makes that easy.

This uses the technique from ASA DB commit
08d4fa6744d2785023666d10a1936460811fcdb2
(https://asa.scripts.mit.edu/trac/changeset/08d4fa6744d2785023666d10a1936460811fcdb2)
to pass commands possibly containing metacharacters through pagsh without
quoting issues.
krbroot