以centos6.5为例1.开机启动读条是按esc,进入grup界面,选择第二项,按e进行编辑2.在行尾空格输入single,回车按b重启进入single模式
3.输入命令passwd root 即可重新设置linux密码