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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux