def verify_root_privileges():
    """
    Verify user has root privileges that required to execute this script
    """
    o, e = subprocess.Popen(['id', '-u'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT).communicate()
    if int(o) != 0:
        print_error(
            "This script must be run in elevated privileges since some of the tests require root privileges")
        exit()

    Verify user has root privileges that required to execute this script
    
DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py