Hi Ludwig,
A brief warning. Readonly variables are not meant for
limiting/securing shell use.
This is easily subverted with subshells, absolute paths and by
completely ignoring built-in functions.
What do you want to achieve by preventing modification of environment variables?
Cheers,
pǝ
On 8/10/07, Ludwig Isaac Lim <[EMAIL PROTECTED]> wrote:
> > From: "Mhac Janapin" <[EMAIL PROTECTED]>
> > Subject: Re: [plug] Prevent Modification of Enviroment
> > Variables
> > To: "Philippine Linux Users' Group (PLUG) Technical
> > Discussion List"
> > <[email protected]>
> > Message-ID:
> >
> >
> <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > cool! first time i heard of this.
>
> Yup, cool is the right word. This is also the first time
> I've heard about it. I've been using bash/sh for some
> time,so I'm surprised. I looked it up on google. It seems
> that it came from korn shell.
>
> ludwig
>
>
>
> ____________________________________________________________________________________
> Shape Yahoo! in your own image. Join our Network Research Panel today!
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph