Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 16:39:10 +0930 (CST)
From:      Alex Wilkinson <valex@senet.com.au>
To:        Chris Aitken <chris@ideal.net.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: keeping aliases after su
Message-ID:  <Pine.BSF.4.21.0104261639040.52189-100000@pine.senet.com.au>
In-Reply-To: <5.0.2.1.2.20010426164159.01cf6230@mail.ideal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

su -

 -aw


On Thu, 26 Apr 2001, Chris Aitken wrote:

> 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
> 


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?Pine.BSF.4.21.0104261639040.52189-100000>