When GRUB comes up, select your boot entry and hit 'e' to edit. Then, arrow 
down to your kernel line and hit 'e' again. At the very end of that line, 
simply add the character '1'. Hit enter to save, then 'b' to boot. Your system 
will now boot up in single user mode and drop you to a root shell without 
requiring authentication (assuming you haven't previously disabled this default 
behavior). Run 'passwd' to change your password and reboot/explore. 

When I've had to use this process, it typically meant the server had been 
compromised and hosed with a rootkit. If you find odd processes, weird files, 
getting segfaults for normal applications (bash/grep/vim/etc) then you'll 
likely want to backup your data and reinstall from scratch. Please post here if 
you have further problems/questions. 

Good luck! 

Tim Nelson 
Systems/Network Support 
Rockbochs Inc. 
(218)727-4332 x105 

----- "David @ULC" wrote: 
> 

> In one of my center , its not taking root password. 
> Anyways to recover it ? 
> In other terms , I lost the control of server. 
> 
> Any solution or re-installation is the only way left ? 
> 

> 
I am using CentOS. 
> _______________________________________________ -- Bandwidth and Colocation 
> Provided by http://www.api-digital.com -- asterisk-users mailing list To 
> UNSUBSCRIBE or update options visit: 
> http://lists.digium.com/mailman/listinfo/asterisk-users 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to