Re: permission problems with script run via crondargs -m

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/13/20 3:26 PM, Robert Moskowitz wrote:
> 
> 
> On 5/12/20 12:13 PM, Lukas Vrabec wrote:
>> Oh, and this script runs fine for root's crontab tasks.  It is failing
>>> on whatever kicks off logwatch.
>>>
>> Yes, that's the problem.
>>
>>
>> Can you please run:
>>
>> # semanage fcontext -a -t sendmail_exec_t /usr/local/mycron
>> # restorecon -Rv /usr/local
>>
>> and then reproduce it? This could help.
> 
> 
> It works now.  Thanks!
> 

Great to hear that!

> Of course I am changing my mycron script yet again!  I was shown how to
> use formail/procmail as a simple MDA.  Still need a script file, and
> probably still need all these selinux changes for it,
> 
> eventhough only procmail is touching /var/spool/mail/
> 
> 


-- 
Lukas Vrabec
SELinux Evangelist,
Senior Software Engineer, Security Technologies
Red Hat, Inc.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux