#1 (permalink)  
Old 06-21-2004, 12:43 PM
Registered User
 
Join Date: Jan 2004
Posts: 3
dennism
WHM root login lost - ssh still OK

This is on a FreeBSD box.

After running /scripts/rebuildetcpasswd I can no longer access WHM as root. SSH access was not affected. When I run /scripts/chcpass I get:
rawchpass: fixme: freebsd please report this on support.cpanel.net at /scripts/chcpass line 4.

The root password isn't different, but apparently now cpanel has it recorded someplace as something else. How can I recover from this?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-21-2004, 01:15 PM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,303
cpanelnick is on a distinguished road
Re: WHM root login lost - ssh still OK

Quote:
Originally posted by dennism
This is on a FreeBSD box.

After running /scripts/rebuildetcpasswd I can no longer access WHM as root. SSH access was not affected. When I run /scripts/chcpass I get:
rawchpass: fixme: freebsd please report this on support.cpanel.net at /scripts/chcpass line 4.

The root password isn't different, but apparently now cpanel has it recorded someplace as something else. How can I recover from this?

Thanks.
Try changing it with passwd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-21-2004, 02:40 PM
Registered User
 
Join Date: Jan 2004
Posts: 3
dennism
Re: Re: WHM root login lost - ssh still OK

Quote:
Originally posted by bdraco
Try changing it with passwd
I did. I also (briefly) removed the root password altogether.

I've had a couple of customer calls on this now. It appears that it may be all WHM logins that are not working.

Where is Web Host Manager looking for login information, or how is it validating logins? The cPanel logins are working fine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-22-2004, 02:17 PM
Registered User
 
Join Date: Mar 2004
Location: Russia. Moscow
Posts: 1
JetPrograms
Hello! At me absolutely same problem! FreeBSD 4.9, cPanel CURRENT
All WHM-logins don't work!

Before there was a problem: the user could get access on FTP, using any password! I have tried to solve this problem by /scripts/rebuildetcpasswd but instead of it have received one more! This problem was solved updating cPanel, but the problem with access to WHM has remained!

With me has remained accesshash to cPanel, therefore I can be connected to it, using WHM-authorization. I have changed the Root-password means WHM, the real root-password has changed (in ssh), but WHM still does not let.


Help, please!

Last edited by JetPrograms; 06-22-2004 at 02:25 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-23-2004, 05:24 AM
Registered User
 
Join Date: Jan 2004
Posts: 3
dennism
Quote:
Originally posted by JetPrograms
[B]Hello! At me absolutely same problem! FreeBSD 4.9, cPanel CURRENT
All WHM-logins don't work!

Before there was a problem: the user could get access on FTP, using any password! I have tried to solve this problem by /scripts/rebuildetcpasswd but instead of it have received one more! This problem was solved updating cPanel, but the problem with access to WHM has remained!

With me has remained accesshash to cPanel, therefore I can be connected to it, using WHM-authorization. I have changed the Root-password means WHM, the real root-password has changed (in ssh), but WHM still does not let.
I finally solved this. I took a close look at what that script does and it's clear it shouldn't be there on a FreeBSD box. Here's what I did:

1) remove /etc/shadow
2) edit /etc/group - deleted all the duplicate lines
3) remove /etc/passwd and vipw - edit - save to generate a new /etc/passwd
4) reboot

When it came back up it was back to normal.
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 10:05 AM.


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