Run less in "secure" mode.
authorMichael Spang <mspang@uwaterloo.ca>
Wed, 23 May 2007 21:04:18 +0000 (17:04 -0400)
committerMichael Spang <mspang@uwaterloo.ca>
Wed, 23 May 2007 21:04:18 +0000 (17:04 -0400)
bin/ceo

diff --git a/bin/ceo b/bin/ceo
index e77f1b7..8550f79 100755 (executable)
--- a/bin/ceo
+++ b/bin/ceo
@@ -11,6 +11,7 @@ for key in os.environ.keys():
     if key not in safe_environment:
         del os.environ[key]
 
+os.environ['LESSSECURE'] = '1'
 os.environ['PATH'] = '/usr/sbin:/usr/bin:/sbin:/bin'
 
 for pathent in sys.path[:]: