COM port access permission of non-root users

COM port access permission of non-root users

Post by Fung Wai Keu » Thu, 28 Jan 1999 04:00:00


        I would like to ask how to release the access permission of COM port
for non-root users.  I've tried to change the access permission of /dev/ttyS0
to crw-rw-rw- and my non-root user can access the COM port.  However, I have to
re-set the access permission of /dev/ttyS0 to crw-rw-rw- for non-root access as
the access permission of /dev/ttyS0 is seemed to change back to crw-------
EVERYDAY automatically and mysteriously.  Is it possible to set the access
permission permanently?

Thanks in advance.


Wai Keung, Fung

Department of Mechanical and Automation Engineering,
The Chinese University of Hong Kong,
Shatin, N.T.,
Hong Kong.

Tel: (852)26098470      Fax: (852)26036002


1. run a non-root user's program from a non-root user

Hi Folks,

Here is the problem.

I have user A and user B (non-root users)

I need for user A to initiate a job as user B. How can this be done?

As you know, I can do this as root. I can start a process from root as
another user in the system (cron jobs come to my mind!) Is there a way
to do this for non-root users? I believe I need to be able to do
something like  as user A
"su - B" without being prompted for password.

Appreciate suggestions in advance.


BTW: I am using AIX 4.3.10

2. Static IP Adress for network Card

3. How can non-root users access serial ports

4. ext2-fs panic

5. Port I/O access as Non-root user ???

6. Netgear 10/100 PCI card drivers?

7. Granting root access to defined non-root users...

8. New to Linux- how do I install Theme Manager ?

9. Root Access to non-root users

10. Can't start Netscape server on port 80 as a non-root non-nobody user.

11. Non-root Users Cannot Gain Access

12. Non-root user cannot access PPP