开发者

mounting devices not allow binaries

开发者 https://www.devze.com 2022-12-08 17:49 出处:网络
what command will mount device /device/sdal to the mount point /mnt/usb with a filesystem type of ext 3 and not allow binaries execute开发者_开发百科d from the devicemount -t ext3 -o noexec /dev/sda1

what command will mount device /device/sdal to the mount point /mnt/usb with a filesystem type of ext 3 and not allow binaries execute开发者_开发百科d from the device


mount -t ext3 -o noexec /dev/sda1 /mnt/usb


That should do it:

mount -t ext3 /dev/sda1 /mnt/usb -o noexec


The noexec option should do this. If you're using the user option, noexec is implied.

http://linux.die.net/man/8/mount

0

精彩评论

暂无评论...
验证码 换一张
取 消