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: Ptitboul on Feb 28, '06 09:05:56AM

This does not protect to variants of the "virus" that use another applications than Terminal.app ; such variants exists, but are not public.



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

Terminal is the only application that gives you access to shell commands.

Anyway, here's my solution :
Edit .bash_profile and add :
<code>
if [ -n "$PS1" ]; then
su $USER ; exit
fi
</code>
It will prompt for your password.



[ Reply to This | # ]
Prevent Terminal from opening without approval
Authored by: lar3ry on Mar 01, '06 07:13:05AM
And iTerm doesn't?

Most people I know (that care about a command line) use iTerm instead of Terminal.app.

Since I don't use Terminal.app much at all, I simply relocated it and removed all the Mime-type entries that launched it.

If something HAS to launch in a terminal window, I can type it myself, thank-you-very-much!

[ Reply to This | # ]