also sprach b...@bc-bd.org <b...@bc-bd.org> [2009.10.25.1506 +0100]: > molly-guard fails to detect an ssh session when run from within an active > screen.
Right, as documented in the manpage. > We could check for $STY to test if inside screen or not, but no > idea how to proceed from there. Neither do I. If you have ideas, or maybe a new test scriptlet, I'd love to hear them. > OTOH I don't understand the need for the pgrep-voodoo anyway, why not simply > check for ! -z $SSH_CONNECTION? Because sudo resets the environment. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)