Results 1 to 1 of 1
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 ...
- 06-12-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 1
Reading/Writing to Serial Ports
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!


Reply With Quote