*BSD News Article 38098


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!news.sprintlink.net!hookup!newshost.marcam.com!news.kei.com!travelers.mail.cornell.edu!newsstand.cit.cornell.edu!news.graphics.cornell.edu!ghost.dsi.unimi.it!univ-lyon1.fr!ensta!bsdtest.ensta.fr!bouyer
From: bouyer@bsdtest.ensta.fr (Manuel Bouyer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Problems with NetBSD 1.0
Date: 19 Nov 1994 17:06:28 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees, Paris
Lines: 32
Distribution: world
Message-ID: <3albak$798@ici-paris.ensta.fr>
References: <3al3h5$28n@wsiserv.informatik.uni-tuebingen.de>
NNTP-Posting-Host: bsdtest.ensta.fr

In article <3al3h5$28n@wsiserv.informatik.uni-tuebingen.de>, gabara@peanuts.Informatik.Uni-Tuebingen.DE (Andrej Gabara) writes:
|> I've installed NetBSD 1.0, then I changed root's passwd, created a new user,
|> changed his passwd, and rebooted: I was unable to log in! It looked like NetBSD
|> forgot root's passwd.
|> 
|> So I went for a second trial. I installed NetBSD again, created a new user,
|> changed root's passwd and rebooted. Ok, this time it worked. I installed the
|> srcdist and compdist, recompiled the kernel, booted of the new kernel and logged
|> in with my user account. Ok so far... I compiled other software, su'd to root a
|> couple of times, and rebooted: I was unable to log in either as root or with my
|> user account!!!! I almost beat up my machine! I don't understand this! I am sure
|> I did not change the passwd in between (don't have alzheimers!) Oh, I did use
|> the european secr10.* distribution. Could that be the cause of the problem? I.e.
|> is it possible that it works sometime and sometimes not depending on the secr10
|> distribution?
|> 
|> Damn! I have wasted this much time. Before I give NetBSD another try, I want to
|> make *sure* the problem is solved!
|> 
|> Thank's for any help!
|> 

You should be able to boot in single user mode. Take a look at your
/etc/master.passwd file. If you use the european secr10.* distribution,
passwords should'nt be crypted. So if you recompiled and installed your libcrypt,
whith an crypt function, then login will crypt your passwd and compare whith
the unencrypted one, so you can't log in.

--
Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris
email: bouyer@ensta.fr
--