Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 16:48:46 +1000
From:      Chris Aitken <chris@ideal.net.au>
To:        questions@FreeBSD.ORG
Subject:   keeping aliases after su
Message-ID:  <5.0.2.1.2.20010426164159.01cf6230@mail.ideal.net.au>
In-Reply-To: <Pine.BSF.4.31.0104252336060.33950-100000@oddjob.adhesiveme dia.com>
References:  <200104260032.f3Q0Wem38959@explorer.rsa.com> <Pine.BSF.4.31.0104251456190.29113-100000@oddjob.adhesivemedia.com> <Pine.BSF.4.31.0104251501130.29480-100000@oddjob.adhesivemedia.com> <200104260032.f3Q0Wem38959@explorer.rsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.2.20010426164159.01cf6230>