5 ms·
The more I play with this, the more I like it. There's some potential for mischief here as well: $ sudo su $ killall sshd $ fiu-run -x -f "/tmp/ssh
by yourad_io 12y ago
The more I play with this, the more I like it. There's some potential for mischief here as well:
$ sudo su
$ killall sshd
$ fiu-run -x -f "/tmp/sshctrl" $( which sshd )
$ ps aux | grep sshd
root 5177 0.0 0.0 56272 1256 ? Ss 14:45 0:00 /usr/sbin/sshd
nothing visibly wrong in ps output
$ ssh root@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established. (...)
works, we haven't messed with it yet
$ fiu-ctrl -e 'posix/*' /tmp/sshctrl-$(pgrep sshd)
$ ssh root@localhost
hangs; sshd process stays at 100% until it is killed or gets posix/* functionality back