super , keep LD_LIBRARY_PATH

sanyechong12 at live.com sanyechong12 at live.com
Tue Mar 31 08:13:42 UTC 2015


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20150331/08a89908/attachment.html>


More information about the Ubuntu-devel-discuss mailing list