红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Instructions for resetting root password at SuSE 10 Console

Instructions for resetting root password at SuSE 10 Console

1) At GRUB Menu, press <F2> for boot options command line

add options: linux init=/bin/bash

2) Boot linux, you will then be taken to a '#' prompt as root.

3) Edit /etc/passwd with: vipw

Remove the 'x' in the root entry representing the pasword (2nd field)

4) Sync the /etc/passwd file with the /etc/shadow file with: pwconv

5) Now, reset the root password with: passwd root

6) Reboot

TOP

发新话题