Forgot Root Password - Have FTP Access

I'm in quite a bind here

I forgot my root password to my centos linux remote server, however I have ftp access

Is there a way to use ftp access to the server to change or find out the root password to the server?

This is VERY urgent, so I'm giving 500 points for any assistance.

Thanks, Brad
Who is Participating?
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.

You're going to need console access to the box.
Do you have physical access? would be the fastest thing to reset it...
mindlessactsAuthor Commented:
no I do not have physical access

I'm able to execute scripts on this server though, anyway to change the pw with a script?
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

If you do not have any physical access then it's quite hard to reset the password. If you had physical access, you would just need to pop in the distribution CD and boot in recovery mode, then use the passwd command to change the password.

If you could run the scripts with root privileges, then it should be alright. If you can't, then I don't think there's any way that you can reset the root password.
Unless you can FTP as root you won't be able to hack your way in.  If you think about it - if you could do this there would be a BIG security problem.

Can you SSH to the machine as your ftp account?  You might have more of a chance that way - and you'd be all set if you're in a group that has sudo access.

Otherwise you don't need to boot from a recovery CD, but you do need to reboot the machine, hit "a" at the grub prompt and append "single" to the boot arguments.  That'll get you in single user mode as root, bypassing the login.  You can then "passwd root" to change the password and reboot.  Should be easy to talk someone through that over the phone.

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
Without the root password known to you, you can not do such thing.

What do you mean by having ftp access and can run scripts ?

mindlessactsAuthor Commented:
The datacenter was able to reset it for mw with those directions arrkerr

Thanks, Brad
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

From novice to tech pro — start learning today.