[clug] Braindead shell?

McClure, Mike MikeMcClure at ap.spherion.com
Wed Mar 24 04:58:41 GMT 2004


Have you tried creating a test .bashrc that doesn't
set them in the first place?

Mike(y)

-----Original Message-----
From: Antti.Roppola at brs.gov.au [mailto:Antti.Roppola at brs.gov.au]
Sent: Wednesday, 24 March 2004 3:55 PM
To: linux at lists.samba.org
Subject: [clug] Braindead shell?


So I have a Perl script that works perfectly when run from my login, but it
complains
bitterly when run in cron where it can't find stuff like FlexLM and Oracle.

Is there an easy means of (temporarily) nuking PATH, LD_LIBRARY_PATH,
ORACLE_HOME
and all the other assumed variables within an xterm? That is, easier than
writing another script
to un-set and re-set them?

Thanks,

Antti

24/3/2004
The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.




More information about the linux mailing list