*BSD News Article 30271


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!gateway.dircsa.org.au!cleese.apana.org.au!apanix.apana.org.au!hart
From: hart@apanix.apana.org.au (Leigh Hart)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Help!! SOS! I can't login to my FreeBSD System!!
Date: 8 May 94 11:38:52 GMT
Organization: Apanix Public Access Unix, +61 8 373 5485 (5 lines)
Lines: 36
Message-ID: <hart.768397132@apanix.apana.org.au>
References: <2qdv2b$65k@news.tamu.edu>
NNTP-Posting-Host: seldon.apanix.apana.org.au

In comp.os.386bsd.questions Dan wrote:

>I have a serious problem!!!  For some reason I can no longer log into
>my FreeBSD 1.1-GAMMA system.  Not as root, not as myself.  No one can
>log in!  The only thing I can think of that might have caused it is
>that I downloaded and installed the secrdist because there was a 
>program I thought needed it.  That was last night and now.. no log in.
>Is there some way for me to boot the machine in single user mode or
>some way for me to get back in???

Two ways you can do this, if using the standard FreeBSD boot block
you can specify the kernel to load with an option for single user:

[blah blah boot boot blah blah] :- /386bsd -s

or while the system is in the fsck (disk check) stage of bootup
press control-backslash (^\) once, then the system will also
drop into single user mode after the disk checks are complete.

Installing the secrdist changed the crypt() code in your libraries,
particularly if you are running shared libraries then all of your
programs that use crypt(), will make them no longer recognise any
passwords in generated by previous crypt() calls.

You will need to reset all passwords on the system or remove the secrdist.

Cheers

Leigh

All of the 
--
                                 Leigh Hart
                               C/- PO Box 758
                          North Adelaide  SA  5006
 hart@eppie.apana.org.au  hart@apanix.apana.org.au  hart@cleese.apana.org.au