AIX進入單一使用者模式 當root使用者的密碼丟失時重設密碼,比較麻煩,需要重啟機器。為了安全,root使用者的密碼一定要妥善配置和保管。 www.2cto.com 第一步:準備好和本機器當前AIX系統版本和層級一致的可引導的AIX安裝光碟片或安裝磁帶介質或是原生備份帶,將光碟片或磁帶插入相應磁碟機,重啟系統。第二步:確保機器的引導裝置改為光碟片或磁帶。當控制台螢幕出現表徵圖或聽到蜂鳴聲的時候,重複按下 F1 鍵直到出現系統管理服務(SMS)菜單,然後依據螢幕菜單提示進行操作。 第三步:確定控制台通過按 F1 鍵然後按 Enter 鍵將當前終端設為系統控制台。 第四步:選擇安裝過程中的提示言通過選擇1,然後按 Enter 鍵,選擇英語作為提示言。第五步:這一步很關鍵,千萬不要選錯了。 www.2cto.com 螢幕顯示:Welcome to Base Operating System Installation and Maintenance1. Start install Now With Default Setting2. Change/Show Installation Settings and Install3. Start Maintenance Mode for System Recovery必須選擇"3.Start Maintenance Mode for System Recovery" 第六步:在Maintenance介面有4個選項:1. Access a Root Volume Group2. Copy a System Dumo to Removeable Media3. Access Advanced Maintenance Function4. Install From a System Backup應該選擇"1.Access a Root Volume Group" 第七步:在下一個螢幕顯示警告資訊,選擇“0 Continue”。 www.2cto.com 第八步:選定VG。按VG的編號,然後按斷行符號鍵。 第九步:選擇訪問rootvg的方式。螢幕上出現兩個選項: 1. Access this volume group and start a shell2. Access this volume group and start a shell before mounting filesystems應該選擇"1. Access this volume group and start a shell"。 第十步:出現命令提示字元,運行passwd命令,重設root使用者的密碼。 第十一步:再次重啟系統。運行以下命令:sync;sync;reboot