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: miaomix on Feb 28, '06 08:30:42AM

This represent a problem for those of us who do automated commands from external systems trhough the command line. I actually have a line in my .bashrc that stops all processing or the file if it is a non-interactive shell (launched from ssh/rsync/etc...):

[[ $- != *i* ]] && return # Shell is non-interactive. Stop parsing.

and just lets the program work so that any output from the rc script doesn't cause issues with my remote process.

The best solution is still turn of the automatic execution of 'Safe' downloaded file.



[ Reply to This | # ]
Prevent Terminal from opening without approval
Authored by: kevinv on Feb 28, '06 09:29:19AM

turning off safe opening doesn't prevent the user from launching a script that appears to be a JPG from Finder. It merely prevents the automatic running from safari.



[ Reply to This | # ]