Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jun 2003
    Location
    UK
    Posts
    23

    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 11:18 AM.

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default

    are you able to SSH into the box and su to root?

  3. #3
    Member
    Join Date
    Jun 2003
    Location
    UK
    Posts
    23

    Default

    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.

  4. #4
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    how did they fix it?

  5. #5
    Member
    Join Date
    Jun 2003
    Location
    UK
    Posts
    23

    Default

    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

  6. #6
    Member
    Join Date
    Aug 2004
    Posts
    215

    Default

    facing the same is it a bug ?
    the shadow file gets empty when i terminate any account

  7. #7
    Member ozarkhost's Avatar
    Join Date
    Oct 2003
    Posts
    32

    Default

    sounds like a security issue to me.

  8. #8
    Member
    Join Date
    Jan 2003
    Posts
    22

    Default

    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?

  9. #9
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

    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

  10. #10
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    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

  11. #11
    Member
    Join Date
    Jan 2003
    Posts
    22

    Default

    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?

Similar Threads & Tags
Similar threads

  1. Old account passwords STILL WORK!
    By dansgalaxy in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-09-2009, 05:25 AM
  2. cPanel/WHM Root & Reseller passwords
    By darren.nolan in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-05-2007, 05:56 PM
  3. reset cpanel passwords in whm.
    By leftie in forum Database Discussions
    Replies: 1
    Last Post: 02-27-2007, 03:28 PM
  4. Cpanel passwords dont work
    By aykfounder in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-07-2005, 07:16 PM
  5. after update unroutable domains and no passwords work?
    By rockster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-15-2003, 10:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube