Re: mincom - permissions

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

 



David Timms wrote:
> Ed Landaveri wrote:
>> [root@tuxy ~] # chmod o+rw /dev/ttyS0
>> (If you wanna start it as a regular user though it
>> goes back to default every reboot)
> 
> Anyone know the proper way to ensure user x always has permissions for
> using the ttyS0 ?
> 
I can think of a couple of ways. If you want the person logged into
the console to always have permissions, then you can create a
console.perms rule to change ownership when the user logs in, and
change it back when they log out.

/etc/security//console.perms.d/tty0.perms

# tty0 permissions for use with minicom
#
<minicom>=/dev/tty0

<console> 0600 <minicom> 0660 root.uucp

On the other hand, the default udev setup sets it to permission 660
and ownerd by root.uucp, so if you add users to the uucp group, they
will be able to access all the serial ports.

You may also want to restrict the people that can use minicom by
editing /etc/minicom.users

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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

  Powered by Linux