Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2014 12:08:40 +0200
From:      Polytropon <freebsd@edvax.de>
To:        allen harris <allenat1@live.co.uk>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: log in and password.
Message-ID:  <20141003120840.348155b6.freebsd@edvax.de>
In-Reply-To: <DUB407-EAS1160C159C7FE4621145B0EBB0A60@phx.gbl>
References:  <DUB407-EAS1160C159C7FE4621145B0EBB0A60@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
(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.

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. ;-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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