Re: [CentOS] selinux prevents lighttpd from printing

2017-09-22 Thread Daniel Walsh
On 09/22/2017 08:24 AM, hw wrote: Daniel Walsh wrote: On 09/22/2017 06:58 AM, hw wrote: PS: Now I found this: type=PROCTITLE msg=audit(09/22/2017 12:08:29.911:1023) : proctitle=/usr/lib/sendmail -t -oi -oem -fwawi-genimp type=SYSCALL msg=audit(09/22/2017 12:08:29.911:1023) : arch=x86_64

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-22 Thread hw
Daniel Walsh wrote: On 09/22/2017 06:58 AM, hw wrote: PS: Now I found this: type=PROCTITLE msg=audit(09/22/2017 12:08:29.911:1023) : proctitle=/usr/lib/sendmail -t -oi -oem -fwawi-genimp type=SYSCALL msg=audit(09/22/2017 12:08:29.911:1023) : arch=x86_64 syscall=setgroups success=no

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-22 Thread Daniel Walsh
On 09/22/2017 06:58 AM, hw wrote: PS: Now I found this: type=PROCTITLE msg=audit(09/22/2017 12:08:29.911:1023) : proctitle=/usr/lib/sendmail -t -oi -oem -fwawi-genimp type=SYSCALL msg=audit(09/22/2017 12:08:29.911:1023) : arch=x86_64 syscall=setgroups success=no exit=EPERM(Operation not

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-22 Thread hw
PS: Now I found this: type=PROCTITLE msg=audit(09/22/2017 12:08:29.911:1023) : proctitle=/usr/lib/sendmail -t -oi -oem -fwawi-genimp type=SYSCALL msg=audit(09/22/2017 12:08:29.911:1023) : arch=x86_64 syscall=setgroups success=no exit=EPERM(Operation not permitted) a0=0x1 a1=0x7ffc1df3b0d0

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-22 Thread hw
Johnny Hughes wrote: On 09/20/2017 07:19 AM, hw wrote: hw wrote: Hi, how do I allow CGI programs to print (using 'lpr -P some-printer some-file.pdf') when lighttpd is being used for a web server? When selinux is permissive, the printer prints; when it´s enforcing, the printer does not

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-20 Thread Johnny Hughes
On 09/20/2017 07:19 AM, hw wrote: > hw wrote: >> >> Hi, >> >> how do I allow CGI programs to print (using 'lpr -P some-printer >> some-file.pdf') when >> lighttpd is being used for a web server? >> >> When selinux is permissive, the printer prints; when it´s enforcing, >> the printer >> does not

Re: [CentOS] selinux prevents lighttpd from printing

2017-09-20 Thread hw
hw wrote: Hi, how do I allow CGI programs to print (using 'lpr -P some-printer some-file.pdf') when lighttpd is being used for a web server? When selinux is permissive, the printer prints; when it´s enforcing, the printer does not print, and I´m getting the log message '/bin/lpr: Permission

[CentOS] selinux prevents lighttpd from printing

2017-09-15 Thread hw
Hi, how do I allow CGI programs to print (using 'lpr -P some-printer some-file.pdf') when lighttpd is being used for a web server? When selinux is permissive, the printer prints; when it´s enforcing, the printer does not print, and I´m getting the log message '/bin/lpr: Permission denied'.