DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default can't get into the server

Hi

As a few of you know I got bit by the cc bug when upgrading to 7.1-PRERELEASE.

I then ran sysinstall and downloaded the 7.0-RELEASE code and installed it. The installation went all perfect and I rebooted the server.
Not the best idea I had but hey I had to try something.

Any ways, now I can't ssh into the server. I get the ssh prompt asking me for my password but it doesn't want to accept it. I even asked my ISP to reset the root password and enable root login in the sshd_config file but I still only get the password screen and it keeps telling me that my password is wrong. They even created a normal user and the same thing happens

Here is an example
Code:
ssh root@10.0.0.10
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).

ssh hamba@10.0.0.10
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
Anyone out there that have an idea of how I can get back into the system without flying out to Germany to fix the problem.

Thanks
Reinhold
Reply With Quote
  #2   (View Single Post)  
Old 28th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

woot I'm back in, I can login again.

The fix was to run
Code:
cap_mkdb /etc/login.conf
sysinstall whipped off all the old user accounts.
Reply With Quote
  #3   (View Single Post)  
Old 29th August 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

why were you using sysinstall for an upgrade anyway ?
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #4   (View Single Post)  
Old 29th August 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

I didn't use it to upgrade, I did the good old way of make buildworld and all that, but I got bit with the 7.1-PRERELEASE thingy and then I ran sysinstall to go back to 7.0-RELEASE.

Like I said above, not one of my finest moments, but I now have the server back and recompiling the ports.

Trust me I'm not going to that again soon. But I found it a good way to get the system reverted to its original state like the day you installed it.
Reply With Quote
  #5   (View Single Post)  
Old 29th August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

For future reference:
You don't need to use sysinstall for that either, you can download the various distributions from:
ftp://ftp.freebsd.org/pub/FreeBSD/re...6/7.0-RELEASE/

And use the install.sh script.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sun Java System Web Server - Active Server Pages (yes ASP) hopla FreeBSD General 0 26th September 2008 08:22 AM


All times are GMT. The time now is 09:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick