Re: sudo with my aliases
- From: Joe Beanfish <joe@xxxxxxxxxx>
- Date: Wed, 27 Sep 2006 12:58:00 -0400
sam.s.kong@xxxxxxxxx wrote:
Hi Michael,
Michael Heiming wrote:In comp.os.linux.misc sam.s.kong@xxxxxxxxx:Hello,Presuming standard setup, put in your script near top:
sudo command doesn't understand the alias I defined.
How can I make "sudo" work with the aliases I defined for my account?
# Source user environment
. /home/${SUDO_USER}/.bashrc
I think I've already set it up like you said.
The thing is that I'm using a mac (Tiger).
/Users/sam/.bash_login has the alias definitions.
But the aliases don't work with sudo.
Are you sure that it works?
..bash_login is only used during login. Try .bashrc
.
- References:
- sudo with my aliases
- From: sam . s . kong
- Re: sudo with my aliases
- From: Michael Heiming
- Re: sudo with my aliases
- From: sam . s . kong
- sudo with my aliases
- Prev by Date: Re: Open source - Free software
- Next by Date: Re: sudo with my aliases
- Previous by thread: Re: sudo with my aliases
- Next by thread: Having problems with knoppix install and accessing the web
- Index(es):
Relevant Pages
|