From owner-freebsd-questions Wed Nov 7 17: 7:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scythe.pacific.net.sg (scythe.pacific.net.sg [203.120.90.37]) by hub.freebsd.org (Postfix) with ESMTP id AEF6237B418 for ; Wed, 7 Nov 2001 17:07:18 -0800 (PST) Received: from smtp1.pacific.net.sg (smtp1.pacific.net.sg [203.120.90.70]) by scythe.pacific.net.sg with ESMTP id fA817HC09118; Thu, 8 Nov 2001 09:07:17 +0800 Received: from ap_280868.pacific.net.sg ([203.208.143.98]) by smtp1.pacific.net.sg with ESMTP id fA817Gl05750; Thu, 8 Nov 2001 09:07:16 +0800 Message-Id: <5.1.0.14.0.20011108091112.00a59340@po.pacific.net.sg> X-Sender: nchee_hoong@po.pacific.net.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 08 Nov 2001 09:13:38 +0800 To: rene@xs4all.nl, questions@freebsd.org From: Kelvin Ng Chee Hoong Subject: Re: .bash_profile not executed when su-ing? In-Reply-To: <20011107121950.A28318@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 Try to put all statement onto non-interactive script . - .bashrc At 12:19 PM 11/7/01 +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? > >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