完全禁止 hald-addon-storage rhel

Posted by bower on March 30, 2011
linux/ubuntu, rhel

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

hald-addon-storage 是一个硬件守护进程,它会不停的检测,有没有设备接入接出,如USB什么的

在服务器上果断禁止
# vim /etc/hal/fdi/policy/99-custom-rules.fdi

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
	<device>
		<match key="storage.removable" bool="true">
			<remove key="info.addons" type="strlist">hald-addon-storage</remove>
		</match>
	</device>
</deviceinfo>

 

分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word