log in and password.

Polytropon freebsd at edvax.de
Wed Oct 1 14:23:08 UTC 2014


On Wed, 1 Oct 2014 13:54:37 +0000, allen harris wrote:
> Sent from Windows Mail

Nice ad. How much do they pay you? ;-)



> im a newbie at this sort of computing , but willing to
> learn through trial and error, but these damn images
> are driving me mad. I follow all the instructions word
> for word, everything goes smooth until it asks for a
> login after it reboots ,to keep things easy id used
> the same word for login and password and root password
> so I thought I couldn't go wrong by forgetting which
> was which….. clever I thought right up to the point of
> entering it and being refused with an incorrect login
> remark, I just cant see the point of installing password
> protection of my own choosing if its not going to grant
> me access anyway , so ive since used different words
> for pass login etc but always the same problem login
> incorrect , what and where am I going wrong im at my
> wits end please help but don't get to technical or else
> itll go over my head .

Your question doesn't state clearly if you have forgotten
your root password or a user password.

In case it's about a user password, and you still have
root access, you can reset the user's password by the
command

	# passwd <username>

Enter a new password (twice). Remember that password,
and you'll be able to login with that username again.

But in case you lost the system administrator's password
(root's password), things are a bit more complicated, which
is intended though the security model of UNIX. In order
to reset the root password, you need to switch your system
to single user mode, either by entering

	# shutdown now

from multi user mode (as root), _or_ starting the system
with

	Boot:
	boot -s

and _then_, after having arrived in single user mode (some-
times called maintenance mode or maintenance shell) perform
the following operation:

	# passwd root

This will allow you to reset root's password without having
to know it beforehand. NB: This is only possible if your
console is set as "secure" (which is the default).

See the FAQ entry here:

https://www.freebsd.org/doc/faq/admin.html#idp59717152

As you can see, it's not complicated. :-)



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


More information about the freebsd-questions mailing list