Root password Not taking : URGENT

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Root password Not taking : URGENT

Postby kolucoms6 » Thu Jan 22, 2009 10:08 am

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 ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby okli » Thu Jan 22, 2009 10:55 am

You could reset it. Have a look at this page and the comments in it:
http://www.debuntu.org/recover-root-pas ... e-and-grub

For specific intruction for the Linux distro you use- do a Google search, e.g. 'reset root password centos'.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby kolucoms6 » Thu Jan 22, 2009 10:58 am

I hope SERVER didnt get HACKED as agent can login but but root and admin.
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby okli » Thu Jan 22, 2009 11:03 am

I guess you are asking for root password of your operating system, NOT for admin etc passwords for vicidial, right?
Also triple check you are entering the correct password, ensuring caps lock is off, other input language is not selected if connecting via Putty/ssh etc.
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby kolucoms6 » Thu Jan 22, 2009 11:05 am

When I restart my Dialer, I see a root prompt.

When I enter my password, its NOT taking.
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby kolucoms6 » Thu Jan 22, 2009 11:16 am

Trying this ::: Lets seee


1. Shut down the machine. (Ctrl+Alt+Del)

2. When it reboot and reach the CentOS boot up screen, then press any key to go into a select menu. Then press “e” and navigate to the second line “grub.conf” line (kernel) and press “e” to edit the line to

option 1 : <SPACE> 1 (” 1″) at the end of the line. OR
option 2: <SPACE> S (” S”) a the end of the line OR
option 3: add “single” to “ro root=LABEL=/ single”
Then hit “ENTER” and press ‘b’ to reboot.

After it reboot, and stop at ‘#” command line, type “passwd” to create the new root password.

Reboot the machine as usual and access your root with new password.

--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby kolucoms6 » Thu Jan 22, 2009 11:33 am

But on another server I see


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/1
initrd /initrd-2.6.18-53.el5.img



Its already ONE by default..
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby okli » Thu Jan 22, 2009 1:01 pm

You are not reading carefully :)

BTW first result of google search (reset root password centos) as I advised you earlier:
http://www.linuxtopia.org/online_books/ ... asswd.html

Do you really dislike Google? I love it, my best friend and mentor for years ;)
okli
 
Posts: 669
Joined: Mon Oct 01, 2007 5:09 pm

Postby kolucoms6 » Thu Jan 22, 2009 1:47 pm

When I boot I get this Error :

switchroot: mount failed: No such file or directory

kernel panic - not syncing: Attempted to kill init!
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India


Return to Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 292 guests