Accessing serial port information in privilege restricted directory
Date: Mon, 04 Jul 2005 18:54:40 +0100
I am writing an application that needs to access information stored in
files /proc/tty/device/*, but the directory /proc/tty/device only
allows root access. The directory contains files that indicate the serial
ports available for use on the system, both traditional and USB adapter
Has anyone got an idea why the /proc/tty/device directory is restricted
to root? Basically, I'm trying to work out what the best approach to take
with my application, which runs with user privileges.
Remove _rem_ before replying by email.
- Re: Accessing serial port information in privilege restricted directory
... > allows root access. ... > ports available for use on the system, ... which runs with user privileges. ... serial port then the sysadmin needs to make changes to allow serial port ...
- Allow full port access on one IP to a sub-user
... - Assigned to subuser1. ... own apache daemon and start it on ... listen to ports on this IP. ... things without needing root access, I don't want to spend a bunch of ...
- Re: chkrootkit: possible trojan
... you either do or don't have root access. ... Sounds like a diversion to me. ... nmap and see if something has been opened. ... As to closing ports, a quick google search will help you there. ...
- Re: how to access remote CUPS printer?
... have enough permissions to be able to edit your configuration. ... point in restricting you from root access. ... You can run lots of stuff you compile, ... printing) use standard ports in that range. ...
- Re: system breach
... so either you or someone with root access did it. ... run sockstat and look for processes with ports open that shouldn't ... something to go on, and i don't understand the stat command, ... if the breach was in the 2 odd days before this and after the system was created. ...