On Sat, Jul 07, 2001 at 03:16:39AM -0800, Ethan Benson wrote:
> > alias /bin/su='/var/tmp/hax0rSu'
>
> i would consider this a bug in the shell.
I disagree; from the Bash man page:
The alias name and the replacement text may con-
tain any valid shell input, including the metacharacters
listed above, with the exception that the alias name may
not contain =.
You could still say maybe it's a policy bug to allow this (and I would
continue to disagree); but bug or not, beware - at least bash 2.03 and
2.05, and ash in potato work this way. So do pdksh (/bin/sh) on OpenBSD
and /bin/sh (which is the same as our 'ash') on NetBSD.
This also works for functions in bash.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
- Re: shared root account Nathan E Norman
- Re: shared root account Ethan Benson
- Re: shared root account Will Aoki
- Re: shared root account Steven Barker
- Re: shared root account Ethan Benson
- Re: shared root account SDiZ Cheng
- Re: shared root account Ethan Benson
- Re: shared root account Ethan Benson
- Re: shared root account Jim Breton
- Re: shared root account Ethan Benson
- Re: shared root account Jim Breton
- Re: shared root account Peter Cordes
- Re: shared root account Eric E Moore
- Re: shared root account Rainer Weikusat
- Re: shared root account Andres Salomon
- Re: shared root account Juha J�ykk�
- Re: shared root account Jason Healy
- Re: shared root account Hubert Chan
- Re: shared root account Micah Anderson
- Re: shared root account Andres Salomon
- Re: shared root account Jason Healy

