Re: sudo with my aliases
- From: Chill Out <chillyreception@xxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 18:59:04 GMT
On Wed, 27 Sep 2006 08:39:46 -0700, sam.s.kong wrote for everyone to
trash:
John-Paul Stewart wrote:
sam.s.kong@xxxxxxxxx wrote:
The thing is that I'm using a mac (Tiger).
Then why are you asking a non-Linux question in a Linux group?
Try a Mac newsgroup, or comp.unix.shell if you think it's not
platform-specific.
I apologize that I posted my question in a wrong group. I thought that the
"sudo" issue was cross-platform. Mac is on unix and the shell is bash. And
I thought that it might be better answered here because most mac users
only use GUI.
Sam
Not sure about OSX but aliases are defined by the alias xx=commands or
executing alias while sudo is in effect itself an alias, ie,
alias sudo="su && command"
You could define the aliases commands in /etc/bash.bashrc or whatever
bashrc is the boot bashrc, or in a file executed by boot process (init.d),
or in the sudoers file.
.
- 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
- Re: sudo with my aliases
- From: John-Paul Stewart
- Re: sudo with my aliases
- From: sam . s . kong
- sudo with my aliases
- Prev by Date: Re: RAID1 unable to boot
- Next by Date: Re: Split file by contents
- Previous by thread: Re: sudo with my aliases
- Next by thread: Re: sudo with my aliases
- Index(es):
Relevant Pages
|