From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:57:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24754C2D for ; Fri, 3 Oct 2014 11:57:53 +0000 (UTC) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE6D4127 for ; Fri, 3 Oct 2014 11:57:52 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id x13so1265874wgg.6 for ; Fri, 03 Oct 2014 04:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=YwwPfWxAJ2CC1rwQOT05lsoOxuJV4T3BcfucpHsOOdE=; b=ySKjJP/aPO/klvF3rFH41+LIfkjS9Tj1+wqqbo7whcybQFQXlapUj4PPxcym+KORTK SXaUK9NPhpdjZlNaYTB+PEB0sudrpKxbz0e+/Ca8xwaFCwb+4nTnQwzAeg6tRsJsxZO1 /q0R+XT2FnrmIUv+vPCwCSEJBTjHGuvQqFpkG4v7mE4fZppizIflLAj9zDvpv2nyw39n rm8AQIj64kqrbtozzSPcZ1g3nJVzfcBacO3wSnhkfrrx0H7Uj1J6qdTNDUMi5mOfgZcj X9akOBKAHE06IDSshABRW6M3ePPu7arPpA3GNfOzW+cOMqsX0+ZOvs7wkXVjQb2NYGk0 2epw== X-Received: by 10.194.143.69 with SMTP id sc5mr6627648wjb.26.1412337470315; Fri, 03 Oct 2014 04:57:50 -0700 (PDT) Received: from t510.bsoft-company.ro (ip5450aabf.adsl-surfen.hetnet.nl. [84.80.170.191]) by mx.google.com with ESMTPSA id ky3sm7735994wjb.39.2014.10.03.04.57.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Oct 2014 04:57:49 -0700 (PDT) Message-ID: <542E8F3C.5030408@gmail.com> Date: Fri, 03 Oct 2014 13:57:48 +0200 From: Andrei Brezan User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: allen harris Subject: Re: log in and password. References: <20141003120840.348155b6.freebsd@edvax.de> In-Reply-To: <20141003120840.348155b6.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 11:57:53 -0000 On 10/03/14 12:08, Polytropon wrote: > (Re-including list, hoe that's okay.) > > On Fri, 3 Oct 2014 00:29:06 +0000, allen harris wrote: >> ive understood your reply and am now on top of what needs >> doing but it still keeps asking me for a login which wasn't >> set by me and am unaware of how to get around this, thankyou >> for your patience I await your response. > Please first make clear if you're missing a _user_ password > or the _root_ password. There hasn't been a definite mentioning > in your initial post. Having to deal with a system where someone > else has set passwords that you don't know is always a bit > problematic, but not impossible to solve. It requires that you > try to tell as precisely as possible what's actually going on. > > When you enter single user mode, no password should be required. > At the boot prompt, enter "boot -s", and then confirm /bin/sh > as the default shell. Enter the command "mount -uw /" to access > the root partition (where the password is stored). Then enter > "passwd" (or "passwd root") to change root's password. You will > not be asked for the previous password. If ZFS is used I would do a "zfs list" to see which fs has the rootfs and "zfs set readonly=off name/of/rootfs" Also it might help to "zfs mount -a" to mount all other filesystems as /usr. I never tried mount -uw in single user mode on zfs though. > Allow me to point you to the FAQ entry again, and check /etc/ttys > if your console has been marked "insecure" which _might_ be a > reason for still being prompted for the root password in single > user mode: > > https://www.freebsd.org/doc/faq/admin.html#idp59717152 > > Do you have a FreeBSD live system (installation CD or DVD, or > USB stick) available? You can use that to access the system's > partitions and make changes independently from passwords restricting > access therein (e. g., change "insecure" to "secure" console in > /etc/ttys, if it should be needed). > > Is it possible for you to provide a screen transcript or screen > capture of what you see? Please try to describe what steps you > have taken and what results they ended in. This will make > troubleshooting easier. At this time, it's just a WAG. ;-) > > > > -- Andrei