Re: Running hpacucli from snmpd blocked by SElinux

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

 



On 17/04/13 19:42, Michal Trunecka wrote:
> there are files in the attachement defining policy module, which sets
> the type transition from snmpd_t to new permissive type hpacacli_t
> through /usr/sbin/hpacucli. 

Excellent, thanks a lot, that's what I wanted!

> # semodule -i test.pp
> # restorecon -Rv /usr/sbin

~/hpacucli-selinux # restorecon -Rv /usr/sbin/
restorecon reset /usr/sbin/hpacucli context
system_u:object_r:bin_t:s0->system_u:object_r:hpacucli_exec_t:s0
restorecon set context
/usr/sbin/hpacucli->system_u:object_r:hpacucli_exec_t:s0
failed:'Permission denied'

Why permission denied? I'm running it as root. Is it because
/usr/sbin/hpacucli is a bash script?

Thanks again!

Michael
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





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

  Powered by Linux