From owner-freebsd-questions Wed Nov 7 3:37:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.resfeber.se (Resfeber-gw.customer.internet5.net [195.66.48.230]) by hub.freebsd.org (Postfix) with ESMTP id 531FC37B418 for ; Wed, 7 Nov 2001 03:37:45 -0800 (PST) Received: from resfeber.se ([212.75.72.9]) by mail2.resfeber.se (8.9.3/8.9.3) with ESMTP id MAA20123; Wed, 7 Nov 2001 12:36:35 +0100 Message-ID: <3BE91C11.F57DB6F9@resfeber.se> Date: Wed, 07 Nov 2001 12:33:37 +0100 From: Jon Molin X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: rene@xs4all.nl Cc: questions@FreeBSD.ORG Subject: Re: .bash_profile not executed when su-ing? References: <20011107121950.A28318@xs4all.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG do you do 'su -' or 'su -l'? If not try that and read man su /jon rene@xs4all.nl wrote: > > Hi. I am using abash as my dfault shell, but when su-ing to another account > (root) it does not seem to execute ~/.bash_profile. Is htere any way to remedy this? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message