*BSD News Article 43778


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!EU.net!news.eunet.fi!KremlSun!satisfy.kiae.su!carrier.kiev.ua!home.silit.crimea.ua!home.silit.crimea.ua!not-for-mail
From: igp@silit.crimea.ua (Igor G. Peymer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: How do one regain 'root' passwd?
Date: 10 May 1995 10:46:47 +0400
Organization: Information Tehnology Research Laboratory
Lines: 19
Distribution: world
Message-ID: <3opngn$eg9@home.silit.crimea.ua>
References: <3ojm1n$ago@newsbf02.news.aol.com>
NNTP-Posting-Host: home.silit.crimea.ua
X-Newsreader: TIN [version 1.2 PL2]

McLemore (mclemore@aol.com) wrote:
: We have a free-bsd box that someone else installed and then they forgot
: the password for the 'root' account.  

: How do we get this back without reinstalling the entire system from
: scratch?  

: I tried booting in single-user mode but that just put in my a read-only
: mode and even if it didn't, I'd guess it would still probably want me to
: KNOW the old passwd to change it.
	After that you mast remount your root filesystem us writeble.
 For example:
		mount -w /dev/wd0a /
or some else if you install your system to another device.
After this manipulatin you can change root or else passwords. 

						Igor