AIX进入单用户模式


AIX进入单用户模式
 
当root用户的密码丢失时重设密码,比较麻烦,需要重启机器。为了安全,root用户的密码一定要妥善配置和保管。 
  www.2cto.com  
第一步:准备好和本机器当前AIX系统版本和级别一致的可引导的AIX安装光盘或安装磁带介质或是本机的备份带,将光盘或磁带插入相应驱动器,重启系统。
第二步:确保机器的引导设备改为光盘或磁带。
当控制台屏幕出现图标或听到蜂鸣声的时候,重复按下 F1 键直到出现系统管理服务(SMS)菜单,然后依据屏幕菜单提示进行操作。 
 
第三步:确定控制台
通过按 F1 键然后按 Enter 键将当前终端设为系统控制台。 
第四步:选择安装过程中的提示语言
通过选择1,然后按 Enter 键,选择英语作为提示语言。
第五步:这一步很关键,千万不要选错了。
  www.2cto.com  
屏幕显示:Welcome to Base Operating System Installation and Maintenance
1. Start install Now With Default Setting
2. Change/Show Installation Settings and Install
3. Start Maintenance Mode for System Recovery
必须选择"3.Start Maintenance Mode for System Recovery"
 
第六步:在Maintenance界面有4个选项:
1. Access a Root Volume Group
2. Copy a System Dumo to Removeable Media
3. Access Advanced Maintenance Function
4. 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 shell
2. 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
 

相关内容

    暂无相关文章