Reset root password

I have inherited a Astericks system and I have no idea what the root password. I need to know how to reset the password without damadging the configuration.

Asterisk doesn’t have a root password. The Linux system its on does has a root password.

Check out aplawrence.com/Linux/lostlinuxpassword.html

What is the Distribution ?

But for most redhat based systems it very (read that as TOO simple)

You will need to reboot the server so will need to be done out of hours.

on restart choose your kernal that loads and then press
’e’dit
navigate to second grub.conf line (kernel)
'e’dit the second line of the ‘grub’ bootloader to
append 1 (" 1") to the end of the line
or
append S (" S") to the end of the line
or
append “single” to ro root=LABEL=/ single
enter
’b’oot

dependant on the info in the line

Then when the system has rebooted Reset Root Password

passwd

Shutdownn

poweroff

Restart Normally

root (hd,0)
kernel /vmlinuz-2.6.9-34.0.2.EL ro root=LABEL=/1 pci=nommconf
initrd /initrd-2.6.9-34.0.2.EL.img

tried adding to the end of that I may be typing it wrong

got it just typed single at the end of the line (single space then “single” no qoutes)

sorry! thanks