Label for executable in tmp

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

 



Hi,

I have a case with script which connects via ssh, transfers executable to /tmp folder and tries to run it. SELinux is blocking the execution, which is expected behavior from a security perspective.

Simple way is to create a rule `allow user_t user_home_t:file { execute };` execution, but I am unable to affect the user_t or process_t in my case. And that it is not secure to allow too wide execution rights for the /tmp folder.

I believe this scenario is common, but still unable to find a way to properly handle this. Is there a proper way to do this?

Thanks!
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




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

  Powered by Linux