Re:Docker: insecure opening of file-descriptor allows privil...
by geofft on Thursday January 12, 2017 @03:29PM
(#13385803)
Hah, that is so close to the design I'm advocating, except that lxc-attach is yet another command in the mold of runc exec or sudo :-)
That design certainly lets lxc-attach permit only running sshd, though, which is a benefit. (And I forgot about sshd -i, which you could presumably point at a UNIX socket using socat or something.)
That design certainly lets lxc-attach permit only running sshd, though, which is a benefit. (And I forgot about sshd -i, which you could presumably point at a UNIX socket using socat or something.)