SparksD2145/Tier-2-Agent-Utility

Permission Commands taking any input on NO

Closed this issue · 1 comments

I was looking into the code and saw that when you enter "n" after the question that asks you if you want to lock the computer it works, so does every other input. Like if you were to input "h" or "q" it would take it. That seems like a bit of a trip up. I would like to take a look at that. I can't seem to find it out. Seems like it is in the lock.bat file (or other files) where it has the conditional statement checking for input and on the ELSE statement it checks for other stuff and goes to the EOF.

So I discussed with Thomas Ibarra on this and it seems logical to actual not slow someone down when they are on a call by having them only input "n". Anything else besides "y" is taken as a no.