1. 如果/tmp是一个独立的磁盘分区,修改/etc/fstab文件中/tmp分区对应的挂载属性,加上nosuid、noexec、nodev三个选项即可
    LABEL=/tmp   /tmp          ext3    rw,nosuid,noexec,nodev   0 0 
    #nosuid、noexec、nodev选项表示不允许任何suid程序,在这个分区不能执行任何脚本等程序,以及不存在设备文件。

    在挂载属性设置完成后,重新挂载/tmp分区,保证设置生效。

  2. 对于/var/tmp,如果是独立分区,同样修改/etc/fstab文件即可;如果是/var分区下的一个目录,那么可以将/var/tmp目录下所有数据移动到/tmp分区下,然后在/var下做一个指向/tmp的软连接即可。也就是执行如下操作:
    [root@server ~]# mv /var/tmp/* /tmp  
    [root@server ~]# ln -s  /tmp /var/tmp
  3. 如果/tmp是根目录下的一个目录,那么设置稍微复杂,可以通过创建一个loopback文件系统来利用Linux内核的loopback特性将文件系统挂载到/tmp下,然后在挂载时指定限制加载选项即可
    [root@server ~]# dd if=/dev/zero of=/dev/tmpfs bs=1M count=10000 
    [root@server ~]# mke2fs -j /dev/tmpfs  
    [root@server ~]# cp -av /tmp /tmp.old  
    [root@server ~]# mount -o loop,noexec,nosuid,rw /dev/tmpfs /tmp  
    [root@server ~]# chmod 1777 /tmp  
    [root@server ~]# mv -f /tmp.old/* /tmp/  
    [root@server ~]# rm -rf /tmp.old

    编辑/etc/fstab,添加如下内容,以便系统在启动时自动加载loopback文件系统:

    /dev/tmpfs /tmp ext3 loop,nosuid,noexec,rw 0 0
  4. /dev/shm是一个共享内存设备,因此也可以通过修改/etc/fstab文件设置而实现,在默认情况下,/dev/shm通过defaults选项来加载,这样保证其安全性是不够的,需要修改/dev/shm的挂载属性,操作如下:
    tmpfs   /dev/shm    tmpfs   defaults,nosuid,noexec,rw  0 0
分类: 发行通用

116 条评论

khamtaopattana.go.th · 2026-09-02 05:52

References:

Online payid pokies real money khamtaopattana.go.th

livebookmark.stream · 2026-09-22 03:26

References:

Sofort auszahlung online casino livebookmark.stream

dudoser.com · 2026-09-22 04:00

References:

Sofort Casino Auszahlung dudoser.com

https://dudoser.com/user/gearrayon9/ · 2026-09-22 04:11

References:

Top Sofortüberweisung Casinos https://dudoser.com/user/gearrayon9/

https://liberalwiki.space · 2026-09-23 03:15

References:

Payid casino pokies https://liberalwiki.space

Sofort Casino Zahlungsmethoden · 2026-09-23 03:50

References:

Sofort Casino ohne Anmeldung Sofort Casino Zahlungsmethoden

neue sofort casinos · 2026-09-23 04:59

References:

Auszahlung mit sofort casino neue sofort casinos

gjglm.com · 2026-09-23 06:47

References:

Sofort casino bonus ohne einzahlung http://gjglm.com/home.php?mod=space&uid=189187

forum.uookle.com · 2026-09-23 22:25

References:

Casino Sofort Einzahlung https://www.forum.uookle.com/home.php?mod=space&uid=1802102

online pokies that accept payid · 2026-09-29 06:59

References:

VIP payid pokies australia https://gitlab.oc3.ru/deathstraw2

trusted payid pokies australia · 2026-09-29 10:32

References:

Payid pokies welcome bonus https://www.88m2.com/?311700

aussie pokies payid · 2026-09-29 11:28

References:

Payid accepted pokies http://bbs.51pinzhi.cn/home.php?mod=space&uid=8395350

instant payid withdrawal pokies australia · 2026-09-29 14:29

References:

Instant withdrawal payid pokies http://09vodostok.ru/user/tigericon5/

payid casino online pokies · 2026-09-29 16:08

References:

Real money payid online pokies http://bbs.88moli.top/home.php?mod=space&uid=142613

payid pokies bonus codes · 2026-09-29 21:01

References:

Instant withdrawal payid pokies https://aryba.kg/user/geminifall36/

https://pad.public.cat · 2026-09-29 21:51

References:

New payid pokies australia https://pad.public.cat/ST_1cdQhRuKsbxYQl7u_lw

best payid pokies australia · 2026-09-30 05:44

References:

Fast withdrawal pokies australia payid http://bbs.xingxiancn.com/home.php?mod=space&uid=1064942

1 dollar deposit pokies payid · 2026-09-30 16:11

References:

Australian online casino payid pokies https://pad.funkwhale.audio/I5GkxTFoR1uK-xTfhPtzuQ

comsenz-service.com · 2026-09-30 18:19

References:

Payid pokies welcome bonus https://comsenz-service.com/?195935

daily free spins payid pokies · 2026-10-02 03:42

References:

Daily free spins payid pokies http://bbs.wuhudj.com/space-uid-1769522.html

best neosurf casino sites australia · 2026-10-04 00:56

References:

Neosurf voucher casino australia http://www.okaywan.com/home.php?mod=space&uid=845912

bbs.88moli.top · 2026-10-04 08:00

References:

Aussie pokies payid http://bbs.88moli.top/home.php?mod=space&uid=149500

https://pad.stuve.de/u_ULe90JR8KOLqAa34UH5w · 2026-10-04 11:05

References:

Neosurf casino cashback australia https://pad.stuve.de/u_ULe90JR8KOLqAa34UH5w

neosurf $10 deposit casino australia · 2026-10-04 13:31

References:

Best neosurf casino sites australia https://manualshyundai.com/user/picklelook95/

http://www.qilurexian.net · 2026-10-04 13:55

References:

Neosurf withdrawal casino http://www.qilurexian.net/?233966

garagesale.es · 2026-10-04 16:35

References:

Online casino neosurf bonus https://www.garagesale.es/author/botanytable73/

https://sibze.ru · 2026-10-04 19:58

References:

Neosurf 10 digit code casino australia https://sibze.ru/index.php?subaction=userinfo&user=crabsyrup83

neosurf deposit bonus casino · 2026-10-05 03:23

References:

Neosurf casino comparison australia http://x.kongminghu.com/home.php?mod=space&uid=898995

neosurf casino bonus australia · 2026-10-06 01:31

References:

Neosurf casino customer support https://git.jiankanghao.net/guiltycondor32

neosurf top up casino australia · 2026-10-06 03:55

References:

New australian online casinos neosurf https://www.88m2.com/?320128

safe neosurf casinos australia · 2026-10-06 11:39

References:

Top australian online casinos accepting neosurf https://xs.xylvip.com/home.php?mod=space&uid=4918321

online casinos accepting wire transfer australia · 2026-10-17 01:23

References:

Online casino direct bank transfer Australia https://manualshyundai.com/user/kisscream4/

https://pad.cttue.de/ · 2026-10-18 02:14

References:

Muchbetter megaways pokies https://pad.cttue.de/wlgbS3sTSKeEY0GgaqJ52w

payid casinos instant withdrawal · 2026-10-18 03:31

References:

Casino online payid australia https://xbymw.com/space-uid-1328877.html

skitterphoto.com · 2026-10-18 04:13

References:

BPay maximum deposit casino https://skitterphoto.com/photographers/3495438/pittman-henderson

VIP payid pokies australia · 2026-10-20 11:01

References:

How to play pokies with payid http://x.kongminghu.com/home.php?mod=space&uid=959065

https://pad.batsense.net/ · 2026-10-21 03:53

References:

Wire transfer deposit casino australia https://pad.batsense.net/HGFFrOMHTCe9CCP34szfsA

dtfz.net · 2026-10-21 04:05

References:

BPay pokies deposit limit https://www.dtfz.net/?52895

payid pokies withdrawal · 2026-10-21 04:19

References:

Instant payid withdrawal pokies australia https://shareshortcuts.com/u/saltswiss3

https://doc.anagora.org/s8fodxh2SkiWYxkOMxS6Xg · 2026-10-22 01:11

References:

MiFinity casino tournaments Australia https://doc.anagora.org/s8fodxh2SkiWYxkOMxS6Xg

neosurf baccarat australia · 2026-10-22 06:10

References:

Neosurf betting sites australia https://bbs.kxwh.cn/home.php?mod=space&uid=431670

https://mapleprimes.com/users/ovalllama54 · 2026-10-22 11:47

References:

MiFinity casino tutorial Australia https://mapleprimes.com/users/ovalllama54

insdown · 2026-10-22 18:51

Thanks for sharing such a helpful read. Over at instagram video downtown we write about related stuff, so this really resonated with me.

insdown · 2026-10-22 18:54

Great post, really enjoyed reading this! I run instagram video downtown and we cover similar topics — keep it up!

insdown · 2026-10-22 18:56

Great breakdown. I wrote something about instagram video downtown here: instagram video downtown — curious what you think.

insdown · 2026-10-22 18:58

Could not agree more with your points here. Well said. — instagram video downtown

gotoapk · 2026-10-22 19:01

Thanks for sharing such a helpful read. Over at Free APK Downloads we write about related stuff, so this really resonated with me.

hscresult2026 · 2026-10-22 19:04

Bookmarking this one. Great work! — hsc result 2026

lslv168.com · 2026-10-23 11:33

References:

Safe bank transfer casinos australia https://lslv168.com/home.php?mod=space&uid=2978467

https://rentry.co/ · 2026-10-23 17:23

References:

Trusted osko pokies sites https://rentry.co/k9fdp7cy

https://pad.batsense.net/ · 2026-10-23 19:49

References:

Australian pokies wire transfer deposit https://pad.batsense.net/BZFn0v6xTnm6MNAZoMULjg

bank transfer pokies Australia · 2026-10-24 02:17

References:

Osko casino withdrawal Australia https://text.dsf.hs-heilbronn.de/SioNlnHaRZOoxECdbsfVyw

online casino payid pokies · 2026-10-25 19:40

References:

Same day payout pokies payid http://sglpw.cn/home.php?mod=space&uid=761183

http://bsq.cc/ · 2026-10-26 03:02

References:

Online pokies that accept payid http://bsq.cc/bbs/home.php?mod=space&uid=334259

BPay pokies bonus · 2026-10-26 22:37

References:

Bpay friendly pokies sites http://www.pshunv.com/space-uid-1073207.html

https://undrtone.com/ · 2026-10-27 06:02

References:

Play live roulette with MiFinity Australia https://undrtone.com/soupheight09

bank transfer casino real money Australia · 2026-10-28 02:33

References:

Safe wire transfer casino Australia https://md.sigma2.no/zO7V6T0aTwq1OKPw_w1jwQ

best Osko casino · 2026-10-28 07:02

References:

Instant bank deposit casino australia https://androidonly.com/user/witchcave7/

madk-auto.ru · 2026-10-28 22:42

References:

Highest paying payid pokies australia http://madk-auto.ru/user/stockpantry1/

molchanovonews.ru · 2026-10-30 12:52

References:

Instant withdrawal payid pokies https://molchanovonews.ru/user/soybacon0/

https://www.play56.net · 2026-11-08 02:25

References:

Deposit with muchbetter casino https://www.play56.net/home.php?mod=space&uid=6568801

https://pad.stuve.de · 2026-11-09 23:20

References:

Sofort casino freispiele https://pad.stuve.de/hsIqZuLRR3-nGrEFdW2PGA

发表回复

Avatar placeholder

您的邮箱地址不会被公开。 必填项已用 * 标注