/ Published in: Python
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
import os
if os.geteuid() != 0:
print "This program must be run as root. Aborting."
sys.exit(1)
Comments
 Subscribe to comments
                    Subscribe to comments
                
                