From owner-freebsd-questions Wed Nov 7 3:36:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.living-source.com (sgw-fr.living-source.com [212.2.36.144]) by hub.freebsd.org (Postfix) with SMTP id 1029037B405 for ; Wed, 7 Nov 2001 03:36:39 -0800 (PST) Received: (qmail 13201 invoked by uid 0); 7 Nov 2001 11:36:43 -0000 Received: from shaman.fr.living-source (192.168.0.25) by mail.living-source.com with SMTP; 7 Nov 2001 11:36:43 -0000 From: Adi Sieker To: freebsd-questions@FreeBSD.ORG Cc: rene@xs4all.nl Subject: Re: .bash_profile not executed when su-ing? Date: Wed, 07 Nov 2001 12:37:03 +0100 Organization: living source GmbH Reply-To: adi@living-source.com Message-ID: <447iutknp55hkjht9me9rq9nbgpitr80a3@4ax.com> References: <20011107121950.A28318@xs4all.nl> In-Reply-To: <20011107121950.A28318@xs4all.nl> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 On Wed, 7 Nov 2001 12:19:50 +0100, 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? You need todo a "su -" (without the quotes) to get a login shell. This will then execute .bash_profle have a look at man su Tschau Adi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message