I don't understand your point
--- START: Shell output ---
puffy:nard {109} alias foo 'echo bar'
puffy:nard {110} foo
bar
puffy:nard {111} su -
Password:
Terminal type? [screen]
puffy# foo
foo: Command not found.
--- END: Shell output ---
If a person gets access to manipulate shell startup scripts then your
likely messed up anyway.
On 25/05/05, Mike <[EMAIL PROTECTED]> wrote:
> just a question that has been in my mind for several years, as for
> aliases isn't that a bit risky to allow to do something like:
> alias /usr/bin/su='echo "damn."'
>
> as PATH and other enviroment values are strictly parsed and stuff
> shouldn't there be something for this too or do i miss something
> important or is this too paranoid..
>
>
--
Adam Gleave
[ OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 ]