Anonymous
2011-08-03
Hello,
I have just installed 1.8.0 on Centos 5.6 (2.6.18-128.1.10.el5) and everything ran without problems. I found the snoopy log in /var/log/secure and I was surprised to not see the lines for internal bash commands (like "echo 1234").
Is there a limitation to the internal bash functions or I am doing something wrong?
Best regards,
Ioan.
###
# cat /etc/passwd; echo 1234; tail -f /var/log/secure
Aug 3 15:11:02 tenora snoopy: : cat /etc/passwd
Aug 3 15:11:02 tenora snoopy: : tail -f /var/log/secure
###
Boštjan Škufca
2011-08-03
Bash internals can not be logged, because they are not standalone programs and therefore not executed as one. Try using /bin/echo instead.
b.
Anonymous
2011-08-03
Thanks for the information provided - the problem is that I am trying to log other users commands and not those issued by me. Without Bash internals logging I have to check other command logger despite I loved the simplicity of snoopy.
Ioan