From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 11:29:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B3F216A4CE for ; Mon, 20 Dec 2004 11:29:40 +0000 (GMT) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423CC43D1F for ; Mon, 20 Dec 2004 11:29:39 +0000 (GMT) (envelope-from david@landgren.net) Received: from [127.0.0.1] (exo.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id 0A6B5A934 for ; Mon, 20 Dec 2004 12:29:38 +0100 (CET) Message-ID: <41C6B7A1.1090708@landgren.net> Date: Mon, 20 Dec 2004 12:29:37 +0100 From: David Landgren Organization: The Lusty Decadent Delights of Imperial Pompeii User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41C6AC75.6020608@uol.com.br> In-Reply-To: <41C6AC75.6020608@uol.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bash - superuser X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 11:29:40 -0000 Giuliano Cardozo Medalha wrote: > Hi, > > I have a machine with FreeBSD 5.3 - release -p2. > > I have installed bash from ports. > > How is possible to use bash in root account ? > > Thanks a lot Don't. Leave /bin/sh as your shell. If you want to run bash as root, log in as usual and then run 'exec bash' to replace your current shell with bash. This is a basic rule of hygiene when working as root. You'll appreciate working this way when you lose your /usr partition one day... David