On Thu, Aug 06, 2009 at 12:45:50PM -0700, Brian McNally wrote: > It looks like you need both read and write privileges on that device for > it to work from non-root users. I'm not entirely sure why ipmitool needs > to write to the device though.
The IPMI command interface must be read/write. To do "IPMI Reads", userspace write()s a command to the controller, then read()s the result buffer. As suggested, sudo can be used to allow ipmitool commands, and/or write a wrapper script that simply calls 'ipmitool sensor list', and use sudo to let your user invoke the just this wrapper. That would limit users from being able to issue reboot commands etc. Thanks, Matt -- Matt Domsch Technology Strategist, Dell Office of the CTO linux.dell.com & www.dell.com/linux _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
