On May 9, 2010, at 8:31 PM, Reinaldo de Carvalho wrote:

> On Sun, May 9, 2010 at 7:19 PM, Jamal Mubarak <jmubar...@gmail.com> wrote:
>> 
>> 
>> Show permissions of /usr/sbin/postdrop and /usr/sbin/sendmail. lpr/lp
>> process owner have rights to exec this commands?
>> 
>> Here are my permissions:
>> 
>> -rwxr-sr-x  1 root  _postdrop  484912 Feb 11 01:03 /usr/sbin/postdrop
>> -rwxr-xr-x  1 root  wheel  572512 Feb 11 01:03 /usr/sbin/sendmail
>> -r-xr-xr-x  1 root  wheel  52832 Feb 11 01:47 lp
>> -r-xr-xr-x  1 root  wheel  44304 Feb 11 01:47 lpoptions
>> -r-xr-xr-x  1 root  wheel  44400 Feb 11 01:47 lppasswd
>> -r-xr-xr-x  1 root  wheel  44528 Feb 11 01:47 lpq
>> -r-xr-xr-x  1 root  wheel  44304 Feb 11 01:47 lpr
>> -r-xr-xr-x  1 root  wheel  35040 Feb 11 01:47 lprm
>> -r-xr-xr-x  1 root  wheel  73552 Feb 11 01:47 lpstat
>> On May 9, 2010, at 7:56 AM, Wietse Venema wrote:
>> 
> 
> cups owner process is in the group _postdrop?
> 
> 'owner process' isn't 'owner of lp* files', you need look owner pf
> cups process with 'ps' command.

jamal% ps -afx | grep cups
    0 11783     1   0   0:00.90 ??         0:00.96 /usr/sbin/cupsd -l

jamal% ls -l /usr/sbin/cupsd
-r-x------  1 root  wheel  887456 Feb 11 01:47 /usr/sbin/cupsd

Is this what you are asking for?  I have tried to change the group of 
/usr/sbin/postdrop to "wheel" from "_postdrop" without any difference.  Same 
error.

Jamal

Reply via email to