|
-
September 10th, 2005, 10:33 PM
#1
Reseting Root password in SuSE 8.2
Hi all,
Due to a fast ball in work Ive just started using SuSE again today after about a year of not using it, hence I cant remember my root password.
A friend of mine has told me how to do it but he isnt very well know for, shall we say, giving reliable IT advice, here is what he told me to do, I was just wondering if anyone could tell me if it is correct or if it willl trash my system!
" Boot into rescue mode from the Inst. CD's
Type:
cd /etc
vi passwd
Go down to root line
root:x: o : o :root:/root:/bin/bash
Delete the X after root
Press ESC wq
vi shadow
delete everything so it look like
root ::::
Esc wq
Restart then enter new password"
Does anyone know if this is correct?
I would prob just go ahead and do it but i need this up and runnning for monday morning and really dont want to spend all sunday having to reinstall it again!!
Thanks for any help guys/gals!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|