Hello,

I am working with an application that needs to read and write to a serial port. Security is a major concern for this application, so I am having problems deciding what is the best way to allow a user without admin privileges to run the program. My experience with Linux is fairly limited.

I'm using Red Hat Enterprise Linux 4. When I do an ls -l /dev/ttyS*, all of them belong to the uucp group. I'm assuming I could just add the users to the uucp group, but that may introduce security vulnerabilities.

Alternatively, i've come across setuid() while searching for a solution, but that seems like another security problem, especially since my programming skills are sketchy, at best.

Any advice would be greatly appreciatated.

Thanks in advance!