super , keep LD_LIBRARY_PATH

sanyechong12 at live.com sanyechong12 at live.com
Tue Mar 31 09:24:11 UTC 2015


setenv not work as well.

From: sanyechong12 at live.com
To: ubuntu-devel-discuss at lists.ubuntu.com
Subject: super , keep LD_LIBRARY_PATH
Date: Tue, 31 Mar 2015 08:13:42 +0000




Hi everybody!
    How can I keep the enviromet variable LD_LIBRARY_PATH when I excute a super command?

    I have modified /etc/super.tab:
    :global env=PATH,LD_LIBRARY_PATH,PYTHONPATH
    bzytest /root/test admin
   
    /root/test:
    #!/bin/bash
    export

    I can get PATH, PYTHONPATH kept. But LD_LIBRARY_PATH is not.
    
    Forgive my bad english.
                                                 
    Best wishes                                                                                       
    Shuai
    sanyechong12 at live.com
 		 	   		  

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20150331/3403cf1e/attachment.html>


More information about the Ubuntu-devel-discuss mailing list