*BSD News Article 69107


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.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!news.new-york.net!ritz.mordor.com!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Re: HELP: lost root passwd
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 22
Organization: Mordor International
Message-ID: <Drsz7s.MJq@ritz.mordor.com>
References: <slegter.832754504@ruunat.fys.ruu.nl>
Date: Wed, 22 May 1996 10:45:28 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.

Boot in single user mode (type -s at the "boot:" prompt).
Type "passwd your.password.goes.here"
shutdown -r now

You're back in business.

Chris
-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451