set-uid root file permissions

6 posts / 0 new
Last post
#1 Fri, 10/28/2011 - 13:03
webwzrd

set-uid root file permissions

I just set up a new server (CentOS 6 - VM Pro) and have this post fix error:

Oct 28 10:25:01 server postfix/sendmail[16424]: warning: the Postfix sendmail command has set-uid root file permissions Oct 28 10:25:01 server postfix/sendmail[16424]: warning: or the command is run from a set-uid root process Oct 28 10:25:01 server postfix/sendmail[16424]: warning: the Postfix sendmail command must be installed without set-uid root file permissions Oct 28 12:25:34 server postfix/postfix-script[2921]: fatal: the Postfix mail system is not running

Looks like it was initially running, then something happened.

Brian

Fri, 10/28/2011 - 13:31
webwzrd

My apologize for not working this a little harder before posting the question. I killed off a stubborn postfix PID, restarted and back to normal.

Fri, 10/28/2011 - 14:34
andreychek

That's great, I'm glad you got it figured out! Thanks for letting us know how you fixed it.

-Eric

Wed, 01/11/2012 - 17:35
kappler0

Can you elaborate on this? I have the same thing but have no idea how to find the pid and kill it.. thanks

Scott Kappler

Wed, 01/11/2012 - 19:24
webwzrd

You could find postfix pid's with something like:

ps aux | grep postfix

And then kill any pid's you want with:

kill -9 pid#

Wed, 01/11/2012 - 21:19
kappler0

Thanks.

When i run the ps aux | grep postfix I get this:

[root@targetmyad /]# ps aux | grep postfix postfix 12595 0.0 0.0 78756 3216 ? S 21:20 0:00 pickup -l -t fifo -u root 14392 0.0 0.0 103292 868 pts/0 S+ 21:53 0:00 grep postfix postfix 21683 0.0 0.1 79692 4160 ? S Jan10 0:03 qmgr -l -t fifo -u root 32638 0.0 0.0 78676 3232 ? Ss Jan08 0:05 /usr/libexec/postfix/master [root@targetmyad /]#

I am a novice here with postfix... - the error that im getting may be slightly different.. postfix isnt stopped on mine.. I have this now:

Jan 11 21:45:02 mail01 postfix/sendmail[14018]: warning: the Postfix sendmail command has set-uid root file permissions Jan 11 21:45:02 mail01 postfix/sendmail[14018]: warning: or the command is run from a set-uid root process Jan 11 21:45:02 mail01 postfix/sendmail[14018]: warning: the Postfix sendmail command must be installed without set-uid root file permissions

I read that this is a cron bug.. Think i have a problem with postfix or should i just ignore this?

Thanks

Scott Kappler

Topic locked