*BSD News Article 94818


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Root Password
Date: Tue, 29 Apr 1997 16:44:47 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 20
Message-ID: <336598DF.29FA@OntheNet.com.au>
References: <18F8FF21930307C2.9C8789DEFA86E574.971B7B7D034EAE5D@library-proxy.airnews.net>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Mark Guz <markguz@sol.co.uk>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40053

Mark Guz wrote:
> 
> I have just installed FreeBSD but forgot to set the root password, how
> do I LOGIN?
> 
> I can't find a default password anywhere in the documentation

There is NO default password.  In fact, you should be able to login just
by hitting <cr> at the password prompt!

However, if that doesn't work, try booting into 'single-user' mode (-s
at boot prompt!), hit <cr> to get the default Bourne shell and then-

# fsck -p -y
# mount -a -t ufs
# passwd root
...


Tony