Need user access to /dev/parport0 , how ?
Avinash Sridhar
avinash.sridhar at gmail.com
Sat Sep 3 15:08:55 UTC 2005
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.
hope that helps.
On 9/2/05, Vincent Trouilliez <vincent.trouilliez at modulonet.fr> wrote:
>
> Hi,
>
>
> I have got a programme that uses the parallel port of the machine.
> I added the module ppdev in /etc/modules so that the /dev/parport0
> device gets created at boot so that the program can access the port.
> However I have to run the program as root in order to use
> the /dev/parport0, not very practical.
> How can I (permanently ie) allow user access to this device ?
>
> I would modify the permissions on the file, but since the device needs
> to be created at every boot, I also assume that it gets deleted at every
> power-off, and the user permissions with it sadly !
>
> Is there a way ? Or will I have no choice but DIY and add a "chmod
> something /dev/parport0" in some start-up script in /etc/init.d ???
>
>
> Thanks for your thoughts :-)
>
>
> Regards,
>
>
> --
> Vince
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050903/74ff1403/attachment.html>
More information about the ubuntu-users
mailing list