Hi Dan, all, I found the solution to the problem, so I am posting it for your info.
It seems that the problem is the prompt that is given by the OS for the user. Initially it was: hostname> This was given by .bashrc file with the following entry: hostname>cat .bashrc # .bashrc # User specific aliases and functions PS1='\h> ' Obviously expect expects something else. So, a change to the prompt solved this: New prompt: [ root@hostname ~ ]# by changing .bashrc the aforementioned line to export PS1="\[\e[1;31m\][ \u@\h \[\e[0m\]\[\e[00;33m\]\w \[\e[0m\]\[\e[1;31m\]]\\$ \[\e[0m\]" (this displays username@hostname, changes also colour etc.) So, this is the case, it seems that ossec ssh_integrity_check_linux script expects a prompt with "$" or "#", not the initial ">". Cheers, Dimitris. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
