Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aragornii

macrumors 6502a
Original poster
Jun 25, 2010
521
148
I'm trying to run a command in Terminal. I will give the full context here:

Upon install Check Point SecureClient on my Mac OS X 10.6 MacBook Pro I found it was starting automatically on boot up. Which normally isn’t a problem, but because of the way it secures the network adapters it prevents essential traffic on my home network, because of this I am found shutting it down each time I logon. Which is a little frustrating!

The SecureClient doesn’t show up in the normal list of applications, but it can still be disabled using the terminal. (Utilities > Terminal)
Change to root.
Run:
tcsh
source /opt/CPsrsc-50/.cshrc
StartupItemsMgr remove $SRDIR/bin/SecureClient.app

My problem is that when I run the second line (beginning with "source...") Terminal returns "No such file or directory exists."

I have zero knowledge of Unix. Any ideas how the above instructions might be modified to work in OSX 10.8?
 

sidewinder

macrumors 68020
Dec 10, 2008
2,425
130
Northern California
Is there a directory called "opt" at the root level of your boot disk?

Look at this:

source /opt/CPsrsc-50/.cshrc

This means source the file at "/opt/CPsrsc-50/.cshrc".

What happens if you type?:

ls -al /opt/CPsrsc-50/.cshrc

You'll get an error saying "No such file or directory". You have to use an accurate path...

S-
 

Aragornii

macrumors 6502a
Original poster
Jun 25, 2010
521
148
I can't locate any of those items. For example, when I search for "StartupItemsMgr" including both system and invisible files, nothing shows up.

I guess a better question is, using 10.8 how do I disable an app automatically loading at the startup level (as opposed to the login level). This worked on 10.6 but clearly 10.8 does things differently.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.