From owner-freebsd-questions Sun Aug 4 22: 1:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3CA837B400 for ; Sun, 4 Aug 2002 22:01:17 -0700 (PDT) Received: from mail.nucleus.com (mail1.nucleus.com [207.34.101.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2646043E65 for ; Sun, 4 Aug 2002 22:01:17 -0700 (PDT) (envelope-from grant.cooper@nucleus.com) Received: from TCOOPER (unverified [205.206.254.42]) by mail.nucleus.com (Vircom SMTPRS 1.4.232) with SMTP id for ; Sun, 4 Aug 2002 23:01:23 -0600 Message-ID: <005801c23c3d$81426940$2afececd@TCOOPER> From: "Grant Cooper" To: "FreeBSD Questions" References: Subject: ps commands Date: Sun, 4 Aug 2002 23:03:56 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Can someone explain why some process' always are up, like qmail but other's I can't see, such as Apache. How can I find daemon's that are not on my screen when I type ps? I know Apache is running, I tested it? And I'm sure it's an executable. What are some commands I can man to read more on this? ----- Original Message ----- From: "Desmond Lee" To: "Greg 'groggy' Lehey" Cc: "FreeBSD Questions" Sent: Sunday, August 04, 2002 10:30 PM Subject: RE: root unkown? > Sweet... it worked.... now i can log in as root > > thanks greg :) > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Greg 'groggy' > Lehey > Sent: Sunday, August 04, 2002 9:10 PM > To: Desmond Lee > Cc: FreeBSD Questions > Subject: Re: root unkown? > > > On Sunday, 4 August 2002 at 21:06:14 -0700, Desmond Lee wrote: > > On Sunday, August 04, 2002 8:47 PM, Greg 'groggy' Lehey wrote: > >> On Sunday, 4 August 2002 at 20:42:36 -0700, Desmond Lee wrote: > >>> Hi there > >>> > >>> I can't log into my machine because i hosed the /etc/group and the > >>> /etc/master.passwd files while doing an upgrade. > >>> > >>> Anywho, i'm looking at the freebsd faq , 10.14. I have forgotten the > root > >>> password! What do I do?, to try and change the root password. But when i > >> do > >>> 'passwd root' i get a message like 'passwd: Unkown user root". > >> > >> Right, that's what you do when you've lost the password. If you've > >> lost the user, you'll have to restore it. You should be able to do it > >> like this: > >> > >> 1. Boot into single user mode. > >> 2. Mount the live file system CD-ROM. > >> 3. Copy the files /etc/group and /etc/master.passwd to their correct > >> place. > >> 4. Run: > >> > >> # pwd_mkdb /etc/master.passwd > >> > >> This will give you a root user with no password. You should obviously > >> fix that as soon as possible. If you don't have the live file system, > >> they're on the installation ISO as well, but that's more work. > > > > What's the live file system? > > The second CD-ROM of the four CD set. > > > If i don't have it, can you tell me how i can get my hands on it? > > Order the set :-) Or find a workaround. > > > The old /etc/group and /etc/master.passwd are in the /var/backups/ > > but when i copied them over to /etc/ and rebooted nothing happened? > > Should i then execute pwd_mkdb, or am i just talking nonsense? > > No, that's probably what you're missing. Run the last step, that > should be enough. > > > Um... i have a freebsd 4.4 installation cd that came with the book i > > bought, but is that of any use? > > No, use the copy you have. It probably has the correct users and > passwords in it. > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply. > For more information, see http://www.lemis.com/questions.html > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message