<br>check out the file /etc/sudoers. u can add ure program and ure
username . I dont remember what the syntax is but, u can read the man
page for that. Its pretty simple . basically u can run the program with
root priviliges but without having to become root.<br>
<br>
hope that helps.<br>
<br>
<br><div><span class="gmail_quote">On 9/2/05, <b class="gmail_sendername">Vincent Trouilliez</b> <<a href="mailto:vincent.trouilliez@modulonet.fr">vincent.trouilliez@modulonet.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br><br>I have got a programme that uses the parallel port of the machine.<br>I added the module ppdev in /etc/modules so that the /dev/parport0<br>device  gets created at boot so that the program can access the port.
<br>However I have to run the program as root in order to use<br>the /dev/parport0, not very practical.<br>How can I (permanently ie) allow user access to this device ?<br><br>I would modify the permissions on the file, but since the device needs
<br>to be created at every boot, I also assume that it gets deleted at every<br>power-off, and the user permissions with it sadly !<br><br>Is there a way ? Or will I have no choice but DIY and add a "chmod<br>something /dev/parport0" in some start-up script in /etc/init.d ???
<br><br><br>Thanks for your thoughts :-)<br><br><br>Regards,<br><br><br>--<br>Vince<br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>