版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、網盾紅帽實驗報告實驗:系統(tǒng)啟動姓名鄧范林任課教師唐凱指導教師實驗地點銀河學院實驗時間2014、 12、 7、實驗目的1破解登錄密碼2、系統(tǒng)grub修復二、實驗步驟及結果分析一、破解登錄密碼打開虛擬機,當倒計時的時候就按下空格鍵,選擇第一個,按e編輯RhiIEnt 貝 r pr i 呉仔 Lfrniuwith TjypiN 3.1R .73.鬥 17 . xR_Fi4Red Hat Enterprise Linux Server, with Linux a-rescue96aa409bl2dl4d54acl-Usa tho t and 丄 kos to chango the eqloct ion
2、.Press e to edit the selected itcM, or !c! for a coMMand proMpt.然后傳遞一個參數lnHOd xfsset root =hlB,nsdes1if xsf eatutra_p lalnliraib imtraMfs-3a 18. 0-123,e)7.xB6_64. InyPrcos Ctr1-k to start f Ct rI c Cor a coMnand proMpi d iscard edits a ltd return to t ha Hemu . Pross ing Tab poss iblo coHplot ioms 如
3、下列圖改成rd.breakinsMod xfsfset root = ? hdU* rtsdoslFi r x$featurep la l forn_i;e(irch_b i nt =1 ; tliensearch -no-floppy 一一fs-uu id -set-root 一一h int-liik Msdosl 一一h inX t-af i =hrtfl + Msri ns1 -h int-harRMtii 1 =flhr i H, Msdns 1 一一hi nt = hdFL mrlnsl 1d?l3h4Rh-5x 4aa-4bl)2-8ae9-34,?f7750bl80e 1 ses
4、earch -no-floppy 一f s-uu id -set = root ld33b4Bb-54aa-4bt2-0ae9-347f 775BU100ft intivieR-123 el7 iSA_E4 rant =IJUI0 = fA2A3-18aA-4q7c-g(lKc9-B3d09ala3161 ro vconsole.vconsole.fontlatarcyrheb-sunlG rd.breain i trd 16 / in itrarif s-3. IB. fi-123 . e 17. x06_64. ingPress Ct r l-c to s+ ar+, Ctrl -c f
5、or a caMMand prQMp+ or Escape todjscard edit言 and return to the Menu. Pressing Tab lists possib1e ccMplet ions然后再按Ctrl+x啟動* f(jrM_search_h i nt = xy J; them sdrt;i -nu-f-rsmulil -sut =ruot liInt-lilus-hilS,niiduxl -hi”、t-ef 1JitlB , Hdul -liirit-ljarieMe L* I -nJitiC , n&dul 一liiiil- lidO , HSilulb
6、Itl33b4flb-!js 4aa 4bb2-Gae9 347f7759bl06c lscsorch 一no-fIcjppv fa-mu id -sot =root ld33b48b-54Aa-4bb2-8io9-347fv7750bl80 亠 =、心 一 i一 亠丄上斗=1 inuvlb /umL imii-3. 1H W-1 ?:i.P17 . x8li_h4 rnnt =11111 U = fSWflHy3-lHaH-4$l7c-9rlXor Escape to istscS-ftrtRflola316 J rn uconso Ip. kf!KAp=us uconsnls. fnnt
7、= lfll4trcrhE?h-sunlfi rbjjb qm Let LRMG=zh_CN,UTr-0 _ 亠亠L (JK J Hcachcd tar(|ct Jnitrdl Itordu It “r(ct aracut-prepiLiotl4G5 : Warning: Break before switch_roDt r OK ) Sfnrtcii 8hnu riynmith Tfrint Snrrnn,L UK ) Reached target Patlis x OK Reached target Easic Systen.r OIK 1 Fumul Jeu iur UrtwflrP_U
8、ii-tiia 1_S . TOC o 1-5 h z Starting F i Lc 砌sten Check on /dcm/disJj/by uid9(KiO253 lOaO 9?c.(JK ) Started dracut initqmeue hook,krtpilffld- fukrbl: /Ij 111/ FiiA.xiS: XFS fl Ir.OK Started File System Check on /dev/disk/by uuidl/rX)ftO273 lfhD 7c %c* 03d0%lft3Ud” noimt inq sycroot.,OK J huu n! rd.(
9、IK 1 fh-:ftchrii tnrgrt Initrri Tfrinf. Fi lr S驢tm,Start ing Rclcad Ccmfiguration iron the Real Root .OKStarletReloadConf igpi rat ion iron th?Root,(IK1RrdrhrflijirijrtT n i I T-ri Fi lr Sijstms.LUKJReachedtarqetJnitrcl Default Tartfet.dracut-pre-pivat 1451: Marninq: Break before switEi_ranX(icncrut
10、ing zriin/ in itramfsrdsosreport. tsrlEnterir)a ancrQcncy node. Exit the did tc contimic.Type .jDurmalctlF to uicw systen logs.You night uarrt to Eaue 7ruiw/ini tram fEPilstrerepcrt .txt1 to a USB slick or /bootdf Lir nHint i ii( l.hm find fithuiJi it to n hiij rrjMtrt.kw i trh_rnnt ;x4tku j-tch mot
11、:沖suitchjpoot:z#j _ 1 :h s7;itch rootLkuj 1 tDli_nnt: zlt陰 ittJijrooi : z#帥 itch::/it _風卩? 林按照下面的步驟進行破解密碼Ruit ch_root :/tisuitch_root:/tt Mount -o remount#rw /sysroot/ suitch_rwt:/tl chroDtsysrooVsh-4.2tt passwd12zLlsysr00t環(huán)垢 root passuB sh-4,211 toucli /.autarclable 1kh-4.2it ex壯 上圖中的 touch /.autor
12、elablel 應該為 touch /.autorelabel配置好上面的命令后兩次exit啟動,第二次exit后就開始加載了L UKr ox L OX ox r nx UK r nxOKOKDKOXL UXOK OKJ Stopped tar jet J ikltrd )i Jc.Snapping File Syten Check or* /dEW/dlsk/bij-mjildf9G40293-18ae-I197c-9dc9-83d09ii 1*3161.1 SLufijirsd Fi In 3yiLew Check un deuzdixkzby-nu *rt/fn-197C-9tli-9-
13、flldGOnl(n3161 -J Stopped target Jnitrtl Hoot fi lie Sy3tcn.1 Stopped targfet IrdTad Root rile Syten.1 CrKrtiral gl inn Ibinr atitI 屜師imi SI iijt .Created si icc sqten yetty .sliiG1 ErrfirhFXl tarrjet I.nrjin FrnnptK.MoLiintinv HPC ripe File 創(chuàng)軟5. riouivitintf RPC Pipe rile1 Reflchftri tn叩et Fermite
14、File Systetn.Start in v Load lcgocij nodu Ic conrigLiratricin.1 Fetched tapcfet S1 ices .I Lltnn i iilj mi Duldjed Siu trinun Suuket.J Li&iciiing on /dcuiniictl Conpatibi 1 Honed Pipe.Steirting Apply Kemei War tables x.Noimtlng Debug Flit 創(chuàng)國tenJ Set up autonouM ilrbitrary LKCcuttulc File Fornats Fil
15、e ysten fkutonount Fbirrt*Starting Create list of r#quLre* ttat Lc deulce riodes for the current kernel.Mnuni. in(j FflS IX NntiijK QkiRiir Filin fijxtjrn.flouvitinqi Huqc Pages File Sijstcn +.1 Listening on Lf)exjc2d&gc2sx2d45dbvj(2ddlbljt2 _按Ctrl+alt+insert進行虛擬機重啟。到了刷條的白色一瞬間按Esc,進到一下界面。這個時間就是一瞬間,速
16、度要快!然后移動到cd-com從光盤啟動4. Network boot from Intel E1000Enter Setup回車,在下列圖選擇第三個選項,修復選項Red. Hat Enterprise Linux 7.0家TrIlist a 1 Red Hat Enterprise Linux 7.0 Test ill is ned ia & iYistei 11 Red Hat Enterprise Limux 7.0Troul)leshoot inqPress Tab for fill I confiurat ian opt ions on memu itens,鄧范林回車,到下面的界面
17、,選擇第二個Troubleshoot inf.Install ned Hat Enterprise Linux 7.0 .in basic graphics modRescue a Red Hat Enterprise Linux systenWuiT a memory testBoot fron local driveReturn to main nenuPress Tab for fill 1 configuration options on itienu items.If tlie system mill ncrt Loot, this lets ou access fi les and
18、 edit conf ig f i les to tri to ypt it booting /gpin.鄧范k回車開始加載Press thekey to beg in the ins tn 1 Inf cm process E18 .2563661sdZ:0 :0:0 :sdaAssumingdriuecache:writetlirough18.2672811sd2:0:0:0:sdalAssuni ngdriuecache:uritethroughr18 .3477311sdZ:0 :0: Q :Assuningdrivecache:writethroughC OK 1 Hounted C
19、onfiguration File System.L OK J Started Show Plynoutli Bvot Screen.OK Readied target Faths. OK J Hcachcd target H朿吝iu System diraciit-in itqueue707J: nouirt; /deu/srO is write-prot巳ctfdL mouTiting red-only L OK J Started dro.cut imitqueue hook.Starting dr-acut pre-mount hook. UK J Startcdl lr.cut pr
20、e-mount hunk.E OK Readied target Iritrd Root File Systen Starting Reload Configuration fron the Real Roott,.LOKJStartedReloadConfiguration from tlie Beal Root.LOKJReachedtargetInltrd File Systens.Starting dr-acut naunt hook.COKStartedrAcutnount hook.COK1Reachedtar-getImitrd Default Target.導向??吹綊煸诘哪夸?/p>
21、是 /mnt/sysimage,下列圖選擇第一個,繼續(xù)| Rescue FThe rescue enuironnen t ulll nou sit tempt to findyour Linux instal lation and mount it under tlied ircctory znnt/sysi. Y(mi can then make any clianges requiped. to your system. If you uant to proceed uith this step 匚boose JContinue. ou edn also choose to mannt j
22、dup file systems read-only instead of peadl-write by chaosing Bead-0nly,I f for some reason 七hi葺 process fails ijoui can choose Skip 農this: stup will be skipped and you will go di recti y to a cortirtand shel 1.1 Rescue |Vour systen has been mounted umder /nnt/sysihaffCHPress ret-Urny to jet a she 1
23、1 _ If ljou uouId like to nake your systen the root environmentj run thu connand:cliroot znntsys inageTJie system will reboot automatica 1 ly ulien you exit from the site 11 -沒得選,只能ok。提示系統(tǒng)掛在在/mnt/sysimage下Rescue Yollp systr* is mounted under the /Hnt/sysiHag(e directory.進入到修復界面。進入的是一個假系統(tǒng),是光盤的系統(tǒng),不是真的
24、系統(tǒng)Strt inginstal ler jone monent. anacoTidft 1.31, ?91 for Red Hat Enterprise Linux ? .0 started.Vour system is nounted ander the zriTit/syeimac(e directory.Uhen finished please ezit fron the shel1 your system ui11 reboot, ali-4.241 _riT li鄧氾林圣神的事情就要開始了。開始修復【1】重新安裝內核創(chuàng)建一個目錄/mnt/.cdrom,這里一定要在/mnt下創(chuàng)建一個
25、目錄,如 cdrom,真實系統(tǒng)是在/mnt/sysimage下 的,如果直接掛在在/mnt上就是把真實的系統(tǒng)給覆蓋了,這樣就無法修復了。如下列圖ls_mwltrE. I.tit: zmn l.syx Lflirtye_jlLrtaiLo111.Uhen f iTiisihed pl ease exit from th 巳 she 11 amd iciir1 system uill reboot.sh-4.Zt ttikdlr yHntxctlron. ;_寸sJi 1.2t mount /dcu/cdron znntxcdroinznuniit - /dru/srO Jm ur I tr-pn
26、jtEEtrrl, niniiit Luy *rfid-un lycd zmnt/cdrof*vPaekages.2# r-|wi -.ivli Kribiie 1-10.0-123.117. m0r_64, rpn rnnt-/niiitzsu& irnri(jr/ Puree uarnwg: kerne 1-3.10.0-1Z3.e 17.xtJb_6 .rpn:_Headep V3 HSfi/SHAiSS Signnature, key ID fd4Z?riid66&fbZHbBOlBb * Ing initranfs-3. W.0-123.eL7.x86_64. imgsijnwrrs
27、-3.10 0-1Z3 .&17 ,x86_61 gz占yste*Rap7” 10 +0-lZ3 nd? .xB6_&4um I i nti z -Q-rescue -3Z7aecd5ed 77427 f a | grubZ-instal1 /dcuzsda t nsta 11 i ng for 1386-pc platrGrrT, 【nsta IIdt ion finished . No error reported. hash 4.Ztt Isconfiu-3.10,0-1Z3.el7,x06_6in itran fg-0-rc:U27aecd5cdT?42?FnM0(jfb2ihfMMBb崢 * incj initrdnfs-3.10.0-lZ3,cl7.x06_64.imysiiuers-3.10r0-123 .el?,x86
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版文化遺產保護工程承包合同示范文本2篇
- 2025年度大型商場租賃合同及租賃期限調整規(guī)范
- 二零二五年度新型房產抵押貸款咨詢與評估合同3篇
- 2025版無產權儲藏室買賣及藝術品展示合作協(xié)議3篇
- 2025版商場物業(yè)管理與商業(yè)糾紛調解服務合同3篇
- 上海市奉賢區(qū)2022-2023學年高三上學期一模語文試卷 附答案
- 二零二五年度車輛運輸與汽車后市場服務合同2篇
- 湖州浙江湖州長興縣人民檢察院編外人員招錄3人筆試歷年參考題庫附帶答案詳解
- 溫州浙江溫州平陽縣人民法院招聘編外人員筆試歷年參考題庫附帶答案詳解
- 2025年度教育機構課程開發(fā)與培訓服務合同
- 高中語文教學課例《勸學》課程思政核心素養(yǎng)教學設計及總結反思
- 中國農業(yè)銀行小微企業(yè)信貸業(yè)務貸后管理辦法規(guī)定
- 領導干部的情緒管理教學課件
- 初中英語-Unit2 My dream job(writing)教學課件設計
- 市政道路建設工程竣工驗收質量自評報告
- 優(yōu)秀支行行長推薦材料
- 中國版梅尼埃病診斷指南解讀
- 暨南大學《經濟學》考博歷年真題詳解(宏觀經濟學部分)
- 藥店員工教育培訓資料
- eNSP簡介及操作課件
- 運動技能學習與控制課件第七章運動技能的協(xié)調控制
評論
0/150
提交評論