Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2009 11:49:21 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        lacalling@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I cannot login coz bash is deinstalled
Message-ID:  <200903040449.n244nLMc052523@banyan.cs.ait.ac.th>
In-Reply-To: <de8d0ce00903032040l2a2e9c5o6e5f5f8cc9c177e1@mail.gmail.com> (message from lacalling on Wed, 4 Mar 2009 12:40:54 %2B0800)
References:  <de8d0ce00903032040l2a2e9c5o6e5f5f8cc9c177e1@mail.gmail.com>

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

> How can I change my shell to sh without logining?

You cannot!

But what you can:

- boot in singkle user mode
- mount all your s=disks: mount -a
- edit /etc/passwd with your favourite editor

Bests,

olivier



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