日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux为启动菜单加密码

發(fā)布時間:2024/4/13 linux 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux为启动菜单加密码 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

為什么80%的碼農(nóng)都做不了架構(gòu)師?>>> ??

為啟動加密碼: grub-md5-crypt Password:?????<==輸入密碼 Retype password:?????<==再輸入一次 $1$6kWUD1$AIZWzT3Ye6CAF0aYceWxr1 復制這個MD5密碼 vim /boot/grub/menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE:? You have a /boot partition.? This means that #????????? all kernel and initrd paths are relative to /boot/, eg. #????????? root (hd0,0) #????????? kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 #????????? initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-164.el5) password --md5 $1$6kWUD1$AIZWzT3Ye6CAF0aYceWxr1 root (hd0,0) kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb qui et initrd /initrd-2.6.18-164.el5.img 說明:此項功能還是可以破解的,因為用戶可以通過編輯模式(e)進入菜單,按(d)刪除密碼字段并按下b就能通過啟動流程 這樣可以避免: vim /boot/grub/menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE:? You have a /boot partition.? This means that #????????? all kernel and initrd paths are relative to /boot/, eg. #????????? root (hd0,0) #????????? kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 #????????? initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 password --md5 $1$6kWUD1$AIZWzT3Ye6CAF0aYceWxr1 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-164.el5) ? ????????password --md5 $1$6kWUD1$AIZWzT3Ye6CAF0aYceWxr1 ??????? root (hd0,0) kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb qui et initrd /initrd-2.6.18-164.el5.img 這個實驗可以避免你的menu.lst在啟動過程中被改亂

轉(zhuǎn)載于:https://my.oschina.net/f91jty/blog/168364

總結(jié)

以上是生活随笔為你收集整理的linux为启动菜单加密码的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。