Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2009 15:28:21 -0400
From:      Jerry <gesbbb@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: 'alias' + sudo
Message-ID:  <20090902152821.6baf568c@scorpio.seibercom.net>
In-Reply-To: <ade45ae90909021206u43135147u1f9431c10a043dda@mail.gmail.com>
References:  <20090902072659.7829da56@scorpio.seibercom.net> <ade45ae90909021206u43135147u1f9431c10a043dda@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Sep 2009 13:06:28 -0600
Tim Judd <tajudd@gmail.com> wrote:

[snip]

> Because sudo calls the binary, via SUID on sudo.  It doesn't pay
> attention to user profiles or rc files (like .bashrc).
> 
> 
> I don't use sudo, so I can't recommend past that.

In other words, sudo is not compatible with the bash 'alias' feature.
Is that correct? I Googled and found several references to sudo and
alias; however, no consensus on how to circumvent the problem.


-- 
Jerry
gesbbb@yahoo.com

In response to President Obama's complaint that FOX News doesn't show
enough Black and Hispanic people on their network, FOX has announced
that they will now air "America's Most Wanted" TWICE a week.



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