Hi Xiaomin,

For in-band communication on the motherboard root is typically required
for access, but it isn't required for out of band access.  So I'd
recommend doing out-of-band access.  Out of band is also better b/c it
won't interrupt the CPU like in-band does.

If you really want to do in-band communication as non-root, my
recommendation would be to load the IPMI kernel driver (/dev/ipmi0) and
use that as the inband device instead of the default FreeIPMI driver (-D
openipmi on the command line or edit /etc/freeipmi.conf appropriately).
You can change the /dev/ipmi0 permissions to whatever you want, thus
allowing non-root access.  You will need to compile FreeIPMI with
--with-dont-check-for-root too so it won't check for root.

Hope that helps,

Al

On Fri, 2010-11-19 at 21:31 -0800, Xiaomin Dong wrote:
> Hi Albert,
> 
> I'd like to use your nagios_ipmimonitoring.sh in my nagios monitoring.
> But it seems the no-root users can not run /usr/sbin/ipmimonitoring.
> Can you please advise how you solve this problem?
> 
> Thanks for help.
> Xiaomin Dong

-- 
Albert Chu
[email protected]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to