On Tue, Feb 21, 2012 at 15:53:34 +0100, martin f krafft wrote:
> > It seems reasonable to me to try to climb up the process tree until we
> > meet a process with "sshd" in the command line (or, maybe better (?),
> > with "sshd" in the proc//exe symlink). Still not the cleanest of the
> > solutions
also sprach Ludovico Gardenghi [2012.02.19.1754 +0100]:
> It seems reasonable to me to try to climb up the process tree until we
> meet a process with "sshd" in the command line (or, maybe better (?),
> with "sshd" in the proc//exe symlink). Still not the cleanest of the
> solutions, but should be
Hello,
I was checking this bug during the Paris BSP which is taking place right
now. What about throwing in another check like the following one in
addition to the tty and SSH_CONNECTION ones?
is_child_of_sshd() {
pid=$$
ppid=$PPID
# Walk up to init.
while [ $pid -ne 1
It is instead working fine on my kfreebsd-amd64, up-to-date sid:
r...@europa:~# uname -sr
GNU/kFreeBSD 8.1-1-amd64
r...@europa:~# dpkg -l | grep molly-guard
ii molly-guard 0.4.4-2
r...@europa:~# halt
W: molly-guard: SSH session detected!
Please type in hostname of the machine to halt: ^
On Sat, 11 Sep 2010, martin f krafft wrote:
> also sprach Peter Palfrader [2010.09.10.2046 +0200]:
> > I applied this patch, but now mollyguard doesn't recognize my tty is
> > from ssh.
>
> Please elaborate, I have no kfreebsd systems to test molly-guard on.
> I mean, I can get an SSH shell and
also sprach Peter Palfrader [2010.09.10.2046 +0200]:
> I applied this patch, but now mollyguard doesn't recognize my tty is
> from ssh.
Please elaborate, I have no kfreebsd systems to test molly-guard on.
I mean, I can get an SSH shell and run it in test-mode, but I cannot
test whether my changes
martin f krafft wrote:
> This is fixed with
> http://git.debian.org/?p=collab-maint/molly-guard.git;a=commitdiff;h=c2b07f7d79d67d953d8a66880c6c0dee71aaee04
I applied this patch, but now mollyguard doesn't recognize my tty is
from ssh.
--
| .''`. ** Debian GNU/Linux
7 matches
Mail list logo