Welcome, guest | Sign In | My Account | Store | Cart
import os, sys

# if not root...kick out
if not os.geteuid()==0:
    sys.exit("\nOnly root can run this script\n")

History

  • revision 2 (17 years ago)
  • previous revisions are not available