From cb32d9e41968e21e5ae461abec13b96c0c38fe9d Mon Sep 17 00:00:00 2001 From: Rajendra Dendukuri Date: Tue, 7 Apr 2020 23:37:46 -0700 Subject: [PATCH] Allow show ztp to display non-sensitive information visible to non-root user Signed-off-by: Rajendra Dendukuri --- show/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/show/main.py b/show/main.py index c4c0d4e493..b3fda30041 100755 --- a/show/main.py +++ b/show/main.py @@ -2864,9 +2864,6 @@ def ztp(status, verbose): if os.path.isfile('/usr/bin/ztp') is False: exit("ZTP feature unavailable in this image version") - if os.geteuid() != 0: - exit("Root privileges are required for this operation") - cmd = "ztp status" if verbose: cmd = cmd + " --verbose"