/ Published in: Python
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
import os if os.geteuid() != 0: print "This program must be run as root. Aborting." sys.exit(1)