resetting root password

Hi
I am running Solaris 10 in my vmware in a x86 machine. I need to reset root's password.

How do I do it ? I have tried to go to single user mode by typing "single" .... though it lands me to # prompt, i cannot change password of root...

how do i do it ?
Thanks
LVL 1
its_ns_04Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jsguru72Commented:
You do not need to be in single-user mode to change the root password.

As root, just run
passwd root

and provide the new password twice.

0
its_ns_04Author Commented:
That is what I have mentioned clearly . It is not letting me change the password even at the # prompt (single user mode)
0
jsguru72Commented:
You asked how to do it.  The response answered that question.

If that is not working then something not working as designed and more information needs to be provided.  Can you provide additional information about what is happening?

Are you getting an error?

Is it going through the process, but the new password is not working?

Please expand on what you are you doing and seeing.
0
RowleyCommented:
If you are asking how to recover from a lost root password, look here for instructions.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.