You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p=os.system('echo "%s"|sudo -S %s'% (passwd, command)) # Issue: if shell has sudo permissions already, but user starts script without sudo, this will pass with the wrong password, because sudo won't ask for it
46
47
ifp==256:
47
-
print("You didnt enter the correct sudo password. Chances left: %s"%(max_try-counter-1))
48
+
print("You didn't enter the correct sudo password. Chances left: %s"%(max_try-counter-1))
48
49
counter=counter+1
49
50
else:
50
51
print("sudo authentication verified!")
@@ -172,7 +173,7 @@ def Install_Brew():
172
173
# brew Need to implement if brew is already implemented
0 commit comments