home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!axion!spuddy!sweh
- From: sweh@spuddy.uucp (Stephen Harris)
- Newsgroups: comp.unix.shell
- Subject: Re: KSH: how to stop $ENV
- Message-ID: <1992Sep12.101832.1513@spuddy.uucp>
- Date: 12 Sep 92 10:18:32 GMT
- References: <1992Sep11.132901.26395@bnr.ca>
- Organization: Spuddy's Public Usenet Domain
- Lines: 15
-
- In article <1992Sep11.132901.26395@bnr.ca> space%bnr.ca (Scott Pace) writes:
- >I have a shell script written in ksh (i.e. has #! /bin/ksh at the start).
- >How do I prevent the ksh from executing $ENV? This is on HP-UX 7.05. I
-
- You need to run in priviledged modee (or is it protected mode? Never can
- remember).
- Anyway, #!/bin/ksh -p
- will do the job.
-
- If a ksh script is suid, then the -p should be applied automatically.
- --
- Stephen Harris
- sweh@spuddy.uucp ...!uknet!axion!spuddy!sweh
-
- * Meeeeow ! Call Spud the Cat on > +44 203 638780 < for free Usenet access *
-