*BSD News Article 69499


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in2.uu.net!01-newsfeed.univie.ac.at!uw.edu.pl!news.nask.pl!news.icmp.lviv.ua!litech!news.litech.lviv.ua!host!gate.host.lviv.ua!alex
From: alex@gate.host.lviv.ua (Alex Trofimov)
Subject: Re: HELP: lost root passwd
X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
Lines: 27
Organization: Private Site
Message-ID: <Ds14oI.BD@gate.host.lviv.ua>
References: <slegter.832754504@ruunat.fys.ruu.nl>
Date: Sun, 26 May 1996 20:24:18 GMT

Tom Slegter (slegter@fys.ruu.nl) wrote:
> Hello everybody,
> 
> Yesterday I installed FreeBSD 2.1.0 on a Pentium machine.
> 
> Everyting went well until I was so stupid to use chpass to change my
> root password. I typed it unencrypted !! 
> Consequently I cannot login as root anymore.
> 
> How can I become root again so I can change the password file again.
> 
> Please send answers directly to slegter@fys.ruu.nl
> 
> PS I already made two other accounts which work but have limited access.
> 
> Greetz,
> 
> Tom
> 
You may change it in this way:

1. load kernel with key '-s'
2. mount -u /dev/[your_root_disk_name> /

and now change a root password :)

regards,
-- 
Alex Trofimov, E-mail: alex@gate.host.lviv.ua
[+]------------------------------------------