Re: sudo with my aliases
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Tue, 26 Sep 2006 20:57:06 +0200
In comp.os.linux.misc sam.s.kong@xxxxxxxxx:
Hello,
sudo command doesn't understand the alias I defined.
How can I make "sudo" work with the aliases I defined for my account?
Presuming standard setup, put in your script near top:
# Source user environment
.. /home/${SUDO_USER}/.bashrc
Good luck
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 408: Computers under water due to SYN flooding.
.
- Follow-Ups:
- Re: sudo with my aliases
- From: sam . s . kong
- Re: sudo with my aliases
- References:
- sudo with my aliases
- From: sam . s . kong
- sudo with my aliases
- Prev by Date: Re: The mother of all permissions problems...
- Next by Date: Re: The mother of all permissions problems...
- Previous by thread: Re: sudo with my aliases
- Next by thread: Re: sudo with my aliases
- Index(es):
Relevant Pages
|