Re: /dev/ttyS0 permission error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikkel L. Ellertson wrote:
The difference is
probably in the settings of console permissions. (man console.perms)
[snip]
Now, if you want the user that is logged into the console to be able
to use the serial ports, you could probably do something like create
a file /etc/security/console.perms.d/10-serial.perms with something
like:

# Serial port rules.
<serial>=/dev/ttyS*

<console>  0660 <serial>     0660 root.uucp

If you just want to control /dev/ttyS0 then change ttyS* to ttyS0.

I looked at console.perms after seeing a reference to it during my web search. In FC6, anyway, there's no rule for serial ports.

[jcliburn@osprey ~]$ egrep ^[^#] /etc/security/console.perms
<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
<xconsole>=:[0-9]\.[0-9] :[0-9]

Is there a rule governing serial ports in FC5?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux