檔案狀態:    住戶編號:2321069
 ac 的日記本
快速選單
到我的日記本
看他的最新日記
加入我的收藏
瀏覽我的收藏
馬英九是否該上釣魚台宣示主權? 《前一篇 回她的日記本 後一篇》 電動車時代來臨了
 切換閱讀模式  回應  給他日記貼紙   給他愛的鼓勵  檢舉
篇名: 危險,這會永久性摧毀你的電腦!
作者: ac 日期: 2016.02.02  天氣:  心情:
危險,這會永久性摧毀你的電腦!

In A UEFI World, "rm -rf /" Can Brick Your System

Written by Michael Larabel in Hardware on 1 February 2016 at 08:14 AM EST. 38 Comments

Running rm -rf / on any UEFI Linux distribution can potentially perma-brick your system.

As a public service announcement, recursively removing all of your files from / is no longer recommended. On UEFI distributions by default where EFI variables are accessible via /sys, this can now mean trashing your UEFI implementation.

There is this systemd bug report requesting that UEFI variables be mounted as read-only by default. Lennart Poettering had initially responded and simply said, "Well, there are tools that actually want to write it.

We also expose /dev/sda accessible for root, even though it can be used to hose your system. The ability to hose a system is certainly reason enought to make sure it s well protected and only writable to root. But beyond that: root can do anything really." He then closed the ticket.


http://www.phoronix.com/scan.php?page=news_item&px=UEFI-rm-root-directory
標籤:
瀏覽次數:396    人氣指數:1996    累積鼓勵:80
 切換閱讀模式  回應  給他日記貼紙   給他愛的鼓勵 檢舉
給本文愛的鼓勵:  最新愛的鼓勵
馬英九是否該上釣魚台宣示主權? 《前一篇 回她的日記本 後一篇》 電動車時代來臨了
 
給我們一個讚!