Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2007 12:09:53 +0200
From:      Zbigniew Szalbot <zbigniew@szalbot.homedns.org>
To:        Yuri Pankov <yuri@darklight.org.ru>
Cc:        Freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: adding password for root
Message-ID:  <bb1916325a64d025833b5535fa79bea4@szalbot.homedns.org>
In-Reply-To: <20070707092630.GA1027@darklight.org.ru>
References:  <20070707092630.GA1027@darklight.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 7 Jul 2007 13:26:30 +0400, Yuri Pankov <yuri@darklight.org.ru>
wrote:
> On Sat, Jul 07, 2007 at 11:15:41AM +0200, Zbigniew Szalbot wrote:
>> Hello,
>> 
>> On Sat, 7 Jul 2007 10:48:52 +0200, Zbigniew Szalbot
>> <zbigniew@szalbot.homedns.org> wrote:
>> > Hello,
>> > 
>> > Not sure how it came about but I just realized that my for new FBSD
>> > installation root user is without a password. When I log in remotely
> and
>> > want to use chpass to add a password for user root I am presented with
> vi
>> > editor in which I guess I could theoretically insert it. But this
> process
>> > was always interactive. How should I add a password for user root
> (remote
>> > login as root is disabled). Do I need to access that box physically
> and
>> > type it on the console or can I set it remotely?
>> 
>> Stupid me. Instead of waiting for your advice I went ahead and entered a
>> password in the vi editor, then saved. Unfortunately, this password is
> not
>> accepted when I su. Is there any hope for me other than reinstallting
> the
>> whole system?
>> 
>> Thank you!
>> 
>>
-- 
Zbigniew Szalbot




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