Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 01:11:54 -0400
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        Jesse Rock <jesse@accretive-networks.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: emergency password problem
Message-ID:  <20020418051154.B4887BA05@i8k.babbleon.org>
In-Reply-To: <20020417215138.W96969-100000@localhost>
References:  <20020417215138.W96969-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 18 April 2002 01:08 am, Jesse Rock wrote:
| Please alert me if there is a more appropriate list for
| this question.
|
| I have a friend who called me up tonight in a panic with
| a problem that I do not have a solution for.
| Apperantly while in the process of changing passwords for
| both his primary user and root he was called away and when
| he returned to his dismay he no longer remembered the new
| password.
|
| Too complicate matters he has set an option that requires
| the root password in order to single user the machine as well.

Well, that *does* complicate matters just a bit.

But all he needs to do is to go into the install and do the "rescue" thing.  
Or he can just insert disk 2 and boot from it, if I recall correctly, and 
that automatically puts you in rescue mode.

Once he's in, just mount the root partition and fix up the password.

(Generally by using vipw to delete the password and then passwd to reset it.)

| My question is two part. First, what if any options are there
| to be able to salvage this machine. While it is not a production
| machine in the real sense it does have many users and hosts a
| number of domains. The only thing I could think of would be
| the fixit disk but as a novice admin myself I am not aware of
| its abilities nor how to invoke them (any documentation would
| be appreciated).
|
| My second question deals with the possibility that nothing but
| a new install will cure the situation. To his credit he has
| everything on separate disks mounted as separate partitions.
| All of the files being served are on A disk that can be salvaged.
| If this machine is reinstalled, how do I add the other disk
| mounted as /usr/home to the new install and save the information?
| Would it be as easy as an fstab entry or is it necessary to
| relabel the disks, etc...?
|
| Any help would be greatly appreciated!
|
| ___________________________________________________________________________
|___
|
| Jesse J. Rock			Accretive Technology Group
| Network Operations		www.accretive-networks.net
| Seattle,Washington		jesse@accretive-networks.net
|
| "Eschew Obfuscation"
|
|
| To Unsubscribe: send mail to majordomo@FreeBSD.org
| with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                ME -->  http://www.babbleon.org
http://www.eff.org   <-- GOOD GUYS -->  http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418051154.B4887BA05>