Quoting Pedro Zorzenon Neto ([EMAIL PROTECTED]):

>    I wrote a program that needs to run setuid root due to direct hardware access 
>(Package: avrprog).

Do you mean this package?

"Programmer for Atmel AVR microcontrolers that uses PC parallel port
 to program the device in serial mode. The device can be programmed
 "in-system". It comes with a schematic of the hardware required.
 The hardware was designed to be efficient and unexpensive."

If so, I'm not sure why you think it needs to be setuid. Just
chgrp somegroup /dev/lp0 (or whichever port) and put yourself
(and any others) into somegroup.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to