Re: mounting filesystems with "noexec"

看板FB_security作者時間20年前 (2005/09/24 06:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/5 (看更多)
> With all that has been said so far, what is the actual point of > the noexec flag? it prevents executables from being executed on a specific partition. for instance, you can mount /var with the noexec flag and if you then try to run any binaries (executables) from /var they simply will not execute. root@server[~]% grep 'noexec' /etc/fstab /dev/aacd0s1h /var ufs rw,noexec,nosuid 2 2 root@server[~]% cp /usr/bin/top /var/top root@server[~]% /var/./top /var/./top: Permission denied. -randall -- :// randall s. ehren :// voice 805.893.5632 :// systems administrator :// isber|survey|avss.ucsb.edu :// institute for social, behavioral, and economic research _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #13D7m500 (FB_security)
文章代碼(AID): #13D7m500 (FB_security)