Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jul 2010 12:14:23 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Luca Renaud <renaud.luca@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Get access to csh (default freebsd shell) for root to solve login problem.
Message-ID:  <447hlbi5r4.fsf@lowell-desk.lan>
In-Reply-To: <AANLkTimr2ikyYisgMqJ6jyYmlkQgtsq3l53gRHaZVF8i@mail.gmail.com> (Luca Renaud's message of "Sun, 4 Jul 2010 17:02:59 %2B0100")
References:  <AANLkTimr2ikyYisgMqJ6jyYmlkQgtsq3l53gRHaZVF8i@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Luca Renaud <renaud.luca@gmail.com> writes:

> The root shell is now bash,but I was unaware that bash was not
> self-contained(it depends at least of libintl.so.8),
> and doing some upgrades with ports I erased libintl.so.8,now I cannot access
> the root account because bash is
> not operational and I need root access to install again libintl.so.8,or any
> other way to solve the problem.
> So,how can I get access to csh for root without having access to a root
> shell(the previously defined bash does
> not work,and I need root access to change the shell for the root acount).

This will work:  just change the root shell instead of password.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW



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