Date: Wed, 07 Nov 2001 12:37:03 +0100 From: Adi Sieker <adi@living-source.com> To: freebsd-questions@FreeBSD.ORG Cc: rene@xs4all.nl Subject: Re: .bash_profile not executed when su-ing? Message-ID: <447iutknp55hkjht9me9rq9nbgpitr80a3@4ax.com> In-Reply-To: <20011107121950.A28318@xs4all.nl> References: <20011107121950.A28318@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447iutknp55hkjht9me9rq9nbgpitr80a3>