snoopy
snoopy copied to clipboard
snoopy for chroot
trafficstars
How can I use Snoopy for restricted SSH access like the chroot? Can you help me? The normal installation on the host does not collect logs for this type of user.
I have these groups:
- admin users ( snoopy worked )
- normal users ( snoopy worked )
- restricted users / chroot ( snoopy not worked )
Processes within chroot are limited to seeing whatever is inside that chroot. This means that if there aren't /etc/ld.so.preload and .../libsnoopy.so (and snoopy.ini) files in their correct locations inside chroot, preloading Snoopy inside chroot will not work.
I tried all these and it didn't work. The following files are currently available:
/<CHROOT DIR>/etc/ld.so.preload/<CHROOT DIR>/etc/snoopi.ini/<CHROOT DIR>/var/log/auth.log/<CHROOT DIR>/lib/x86_64-linux-gnu/libsnoopy.so