Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Prevent Terminal from opening without approval' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent Terminal from opening without approval
Authored by: Hal Itosis on Mar 06, '06 11:53:11AM

Hmm... that 1 second timeout on the first read might be
a bit short, sometimes allowing a script line to slide thru.

I recommend tweaking my code to bump it up to 2 secs:

LastCall=''; read -s -t2 LastCall



[ Reply to This | # ]