#1 (permalink)  
Old 11-27-2003, 05:13 AM
Registered User
 
Join Date: Jun 2003
Location: UK
Posts: 23
Steven_K
Angry !!No Passwords Work for cPanel and WHM!!

I REALLY need some help here.

I got online this morning to find that none of the passwords for WHM (including root) and cPanel are working.

This means that none of the people that I host can log into their accounts nor can I myself get into the root account.

I really really need some help on this because I have no idea what has happened. It worked fine last night and as soon as I got online, none of the passwords worked.

Does anybody know a script or something that I can run to fix this and can somebody please tell me why this has happened.

Thanks in advance. Plz help.

Last edited by Steven_K; 11-27-2003 at 12:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-27-2003, 01:30 PM
Registered User
 
Join Date: Oct 2003
Posts: 1,020
SarcNBit is on a distinguished road
are you able to SSH into the box and su to root?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-27-2003, 01:33 PM
Registered User
 
Join Date: Jun 2003
Location: UK
Posts: 23
Steven_K
No I wasnt able to get into anything including SSH.

But problem fixed! Just been speaking to my datacenter for the last 15 mins or so and apparently the shadow file for my server was totally empty and said it can happen sometimes when accounts get removed.

Anyway, it was rebuilt and all seems fine now.

Thx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-15-2003, 08:44 PM
Registered User
 
Join Date: Jun 2003
Posts: 42
RogelioH
how did they fix it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-16-2003, 04:09 AM
Registered User
 
Join Date: Jun 2003
Location: UK
Posts: 23
Steven_K
They just told me they had rebuilt it. I then had to sync ftp passwords and everything was fixed.

I'm not totally sure how they managed to get all the passwords back though sorry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-01-2005, 12:05 PM
Registered User
 
Join Date: Aug 2004
Posts: 215
s_2_s is an unknown quantity at this point
facing the same is it a bug ?
the shadow file gets empty when i terminate any account
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-12-2005, 01:16 AM
ozarkhost's Avatar
Registered User
 
Join Date: Oct 2003
Posts: 32
ozarkhost
sounds like a security issue to me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-16-2005, 08:53 PM
Registered User
 
Join Date: Jan 2003
Posts: 22
Tim@OCZ
Same thign happend to me...

Although my shadow file is not empty it just lacks the passwd part of the usernames which causes everyone to not be able to login. Any idea on how to rebuild?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-17-2005, 05:25 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Unless you have a backup passwd (usually called /etc/passwd-) or have a full cPanel backup (where you can restore passwd from /backup/cpbackup/daily/files/_etc_passwd.gz) then you're going to have to rebuild it by hand.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-17-2005, 05:31 AM
bijo's Avatar
Registered User
 
Join Date: Aug 2004
Location: India
Posts: 475
bijo is on a distinguished road
Quote:
Originally Posted by Tim@OCZ
Same thign happend to me...

Although my shadow file is not empty it just lacks the passwd part of the usernames which causes everyone to not be able to login. Any idea on how to rebuild?
Hello,

if you have access to the server, first disable the shadow password option. you can disable it through the following command authconfig. and reset the password of users and enable the shadow password option. It will recreate the /etc/shadow file.
May be it will help you to solve this issue.
__________________
Bijo
Yahoo: "bijo505"
Msn: "bijo_baby@hotmail.com"
AIM: "bijobaby"

http://slashome.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 05-17-2005, 12:21 PM
Registered User
 
Join Date: Jan 2003
Posts: 22
Tim@OCZ
The shadow file does exists and has all the proper entires except it does not contain any passwords...hence no auth can take place...

any ideas on a solution to recreate the shadowed passwords?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc