Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2000 21:04:42 -0700 (PDT)
From:      Bhishan Hemrajani <bhishan@cytosine.dhs.org>
To:        "Robledo R. Aloisio" <robledo@cultura.com.br>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Passwd
Message-ID:  <200004250404.e3P44gJ55847@cytosine.dhs.org>
In-Reply-To: <002901bfae68$4ef0d0e0$6b37e6c8@ursa> from "Robledo R. Aloisio" at "Apr 25, 2000 00:42:40 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Restart, enter into single user mode.
(Hit a different key then enter at the waiting part, and enter:
boot -s
)

Mount file systems, something like this:
# /sbin/mount /
# /sbin/mount /usr
etc...

then:
# vipw

change the root password field to nothing:
root:: etc.

set the root password:
# passwd root

Then, restart.

--bhishan

[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I know it is a silly mistake but i was making some experiments with passwd and chpass and i lost root_s password. And I don_t have another superuser. Please some one, how do I clean up or change the root_s password to enter the system again as root ?
> 
> Thank you a lot
> All the Best
> robledo



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?200004250404.e3P44gJ55847>