unable to logon after updating ports collection - Freebsd 7.1 stable

2009-01-20 Thread Roy Stuivenberg
Hello,

After I completed my Freebsd 7.1 stable, and updated all the ports, I got
prompted with another logonscreen.
Whatever I try, I can't login with my useraccount and even not logon as
root.
This happened severall times now, the only way was to reinstall everything,
and I was hoping to resolve this by completly finish upgrading the ports.
And .. again the same problem.
I'm really hoping to get some answers that will solve this problem, maybe
someone had to deal with this  issue before ??
I will not give up, because Freebsd stole my heart.

Regards,

Roy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to logon after updating ports collection - Freebsd 7.1 stable

2009-01-20 Thread Boris Samorodov
Roy Stuivenberg roys1...@gmail.com writes:

 After I completed my Freebsd 7.1 stable, and updated all the ports, I got
 prompted with another logonscreen.
 Whatever I try, I can't login with my useraccount and even not logon as
 root.
 This happened severall times now, the only way was to reinstall everything,
 and I was hoping to resolve this by completly finish upgrading the ports.
 And .. again the same problem.
 I'm really hoping to get some answers that will solve this problem, maybe
 someone had to deal with this  issue before ??
 I will not give up, because Freebsd stole my heart.

The problem has nothing to do with ports. To restore your root/user logins:
. boot into single user mode;
. set a new root password;
. set a new user password;
. boot into multiuser mode;
. login and have fun.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to logon after updating ports collection - Freebsd 7.1 stable

2009-01-20 Thread Bert-Jan
 Roy Stuivenberg roys1...@gmail.com writes:

 After I completed my Freebsd 7.1 stable, and updated all the ports, I
 got
 prompted with another logonscreen.
 Whatever I try, I can't login with my useraccount and even not logon as
 root.
 This happened severall times now, the only way was to reinstall
 everything,
 and I was hoping to resolve this by completly finish upgrading the
 ports.
 And .. again the same problem.
 I'm really hoping to get some answers that will solve this problem,
 maybe
 someone had to deal with this  issue before ??
 I will not give up, because Freebsd stole my heart.

 The problem has nothing to do with ports. To restore your root/user
 logins:
 . boot into single user mode;
 . set a new root password;
 . set a new user password;
 . boot into multiuser mode;
 . login and have fun.


 WBR
 --
 bsam
 ___

I've had the same thing happen to me not 2 weeks ago after upgrading a
server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem
had nothing to do with ports but with the update itself, because it
replaced my pwd.db and spwd.db with the default ones (root with no
password, no user accounts) and since ssh doesn't accept root logins I
ended up going to the datacenter and copying the backups of those db's
back. Then everything was fine again. Very strange they got replaced
though..
Sounds like you've had something similar happen to you. Hopefully your
machine isn't too far away.

Bert-Jan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to logon after updating ports collection - Freebsd 7.1 stable

2009-01-20 Thread Tim Judd

Bert-Jan wrote:

Roy Stuivenberg roys1...@gmail.com writes:



After I completed my Freebsd 7.1 stable, and updated all the ports, I
got
prompted with another logonscreen.
Whatever I try, I can't login with my useraccount and even not logon as
root.
This happened severall times now, the only way was to reinstall
everything,
and I was hoping to resolve this by completly finish upgrading the
ports.
And .. again the same problem.
I'm really hoping to get some answers that will solve this problem,
maybe
someone had to deal with this  issue before ??
I will not give up, because Freebsd stole my heart.
  

The problem has nothing to do with ports. To restore your root/user
logins:
. boot into single user mode;
. set a new root password;
. set a new user password;
. boot into multiuser mode;
. login and have fun.


WBR
--
bsam
___



I've had the same thing happen to me not 2 weeks ago after upgrading a
server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem
had nothing to do with ports but with the update itself, because it
replaced my pwd.db and spwd.db with the default ones (root with no
password, no user accounts) and since ssh doesn't accept root logins I
ended up going to the datacenter and copying the backups of those db's
back. Then everything was fine again. Very strange they got replaced
though..
Sounds like you've had something similar happen to you. Hopefully your
machine isn't too far away.

Bert-Jan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  
Might I add the tempting and tendancy to change root's shell to a 
non-base shell.  While you're in single user, use a base shell if you're 
using non-base (ahem!  bash users)


--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org