From owner-freebsd-questions Wed Apr 25 23:48:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id B3E3537B423 for ; Wed, 25 Apr 2001 23:48:52 -0700 (PDT) (envelope-from chris@ideal.net.au) Received: from helium.ideal.net.au (helium.staff.ideal.net.au [202.3.35.2]) by mail.ideal.net.au (8.9.3/8.9.3) with ESMTP id QAA23030 for ; Thu, 26 Apr 2001 16:48:28 +1000 (EST) (envelope-from chris@ideal.net.au) Message-Id: <5.0.2.1.2.20010426164159.01cf6230@mail.ideal.net.au> X-Sender: chris@mail.ideal.net.au X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 26 Apr 2001 16:48:46 +1000 To: questions@FreeBSD.ORG From: Chris Aitken Subject: keeping aliases after su In-Reply-To: References: <200104260032.f3Q0Wem38959@explorer.rsa.com> <200104260032.f3Q0Wem38959@explorer.rsa.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Got a quick question. I have 2 FreeBSD boxes which are confusing me. The first box is FreeBSD 3.4 and when I telnet in, I run bash as my shell and have an alias that loads up perfectly when I log in. Then I su and the alias follows me. Problem is, the other box also FreeBSD 3.4 and I also run bash and have the same alias set which works perfectly. But when I su all my aliases are lost. The only way I can get them back is by sourcing my .profile Is there something in the root setup or my personal setup that will take my aliases with me after I su ? Thanks Chris -- Chris Aitken - Webmaster/Database Designer - IDEAL Internet email: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890 -------------------------------------------- Unix -- because a computer's a terrible thing to waste! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message