Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 08:45:48 -0700
From:      Avleen Vig <>
To:        Brandon Grace <>
Subject:   Re: Root users shell == no existant shell /bin/bash
Message-ID:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Jul 08, 2004 at 10:29:58AM -0500, Brandon Grace wrote:
> I made a mistake setting my shell and have set the root users shell to
> /bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this.
> The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su.

Two ways.
su -m root   will su to root but keep you currect shell etc.
boot into single user mode, and then change it.

Avleen Vig
Systems Administrator
EFnet: (Earthlink user access only)

Want to link to this message? Use this URL: <>