Re: [exim] exigrep on rejectlog

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: W B Hacker
Dátum:  
Címzett: exim users
Tárgy: Re: [exim] exigrep on rejectlog
jean-paul natola wrote:
>
>

*snip*

> i tried
> sudo exigrep jnatola /var/log/exim/rejectlog
> sudo: Command not found.


Good news, actually.

*BSD should not, by default, have 'sudo' installed (nasty security headaches).

I had ass-u-me'd Linux. Sorry 'bout that!

>
> but you were correct in stating that grep and exigrep have different perms
> -rwxr-xr-x 1 root wheel 4485 Aug 6 15:08 exigrep
> -r-xr-xr-x 9 root wheel 72284 May 8 2005 grep
>


Yes, but not in a way that matters.

Both have the all-other users execute bit set.

Do an:

ls -lFG /var/log/exim

And see who 'owns' the log files, plus insuring that there are no subdirs of same.

Bill