Bruce Johnson writes:
The remedy that Nolan provided corrected the use for non-root users (for a
time). HOWEVER, sendmail's privileges revert back over time and the owner
becomes mail again and I don't know when. I even rebooted my machine to see
if the privledges changed after reboot. They didn't as far as I could see.
So, over a period of time ... I went to lunch and behold -r-s, reverts to
-r-x. How does this happen?
[root@sharkbait bin]# ls -alt sendmail
-r-s--x--x 1 root mail 72372 Nov 23 11:12 sendmail*
[root@sharkbait bin]# ls -alt sendmail
-r-s--x--x 1 root mail 72372 Nov 23 11:12 sendmail*
[root@sharkbait bin]# ls -alt sendmail
-r-s--x--x 1 root mail 72372 Nov 23 11:12 sendmail*
[root@sharkbait bin]# ls -alt sendmail
-r-x--x--x 1 root mail 72372 Nov 23 11:12 sendmail*
[root@sharkbait bin]# chmod 4511 sendmail
[root@sharkbait bin]# ls -alt sendmail
-r-s--x--x 1 root mail 72372 Nov 23 11:12 sendmail*
[root@sharkbait bin]#
Thx. Bruce
Something is screwing up the permissions of files on your box. Nothing to
do with Courier.
There are other setuid and setgid programs in Courier. Chances are that
they got screwed up too.
Find out what's doing this, and TURN THIS BLOODY THING OFF.