Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing List
subject: patch to automount Date: Mon, 23 Aug 2004 23:09:33 +0100
this one requires some explanation. i modified the usb-mount script i found [google search] to, instead of manually mounting and unmounting the drive, to update autofs files, do an /etc/init.d/autofs reload, that sort of thing. by adding an entry into /etc/autofs.master with a timeout of 2 seconds, the age-old problem under linux of "oo, you muuust force the user to unmount the driiive" which is just such total bullshit _no_ sane ordinary computer user gives a monkeys about umount, well this problem just ... goes away [and becomes autofs's problem :)] in order to avoid having to give [my new] usbmount.te permission to write to /etc, which i didn't want to do, i instead have made a separate filetype for /etc/auto.usb, /etc/auto.misc and /etc/auto.net. now i feel sure that someone else will think of better ways to do this however here is at least a step in the right direction. if anyone actually _wants_ the usbmount.te policy i wrote, let me know. it's not very good, it involves hacks to hotplug.te as well, but hey, ItWorks(tm). l.
--
--
subject: Re: patch to automount Date: Wed, 25 Aug 2004 21:13:09 +1000
I've updated the policy in my tree to do things similar to what you are doing. I've attached the files. -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
|
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |