linux下禁止一般用户访问USB存储、光盘和网络 - 悲催的科学匠人 - 冷水's blog

linux下禁止一般用户访问USB存储、光盘和网络

冷水 posted @ 2014年3月24日 01:32 in linux , 1215 阅读

查了老半天,发现如下方法最easy

将自动mount的目录 /media 和  /cdrom 的权限设置为 700  即可

至于网络,在/etc/rc.local中加入  sudo ifconfig eth0 down 即可

 

  • 无匹配
  • 无匹配
Avatar_small
Alyssa 说:
2023年1月05日 00:02

The main reason to do this is to prevent data loss or theft. If you have sensitive data on your computer, you don't want find your dream home Grimes just anyone to be able to access it. USB storage, CD and network drives can all be used to store data, so it's important to restrict access to them.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee