Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to setup suexec on a Centos 6 server. When i do suexec -v as root an error is generated - details below..

VHost suexec:

SuexecUserGroup www-site www-site

CLI:

[root@s1 html]# suexec -v
suexec policy violation: see suexec log for more details

Log:

[2012-07-03 15:45:33]: too few arguments

I am struggling to identify the cause of this.. Anyone have any input?

Thanks

share|improve this question

closed as unclear what you're asking by Chris S Aug 13 at 15:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
suexec -v probably isn't a valid command, and so debugging that is pointless. What's the actual problem? –  mgorven Jul 4 '12 at 5:23
    
suexec -v should list its config vars. I am trying to make the apache vhost process run as a specific user, which is does not seem to be doing. The log file indicate it is loaded when restarting Apache however a VHOST can not read files owned by the user set with SuexecUserGroup and chmod 700. If owned by apache it can be read. –  Lee Jul 4 '12 at 8:54