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


Click here to return to the 'Disable Office v.X network serial number check' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable Office v.X network serial number check
Authored by: jarrellgriarte on Feb 12, '06 09:34:54AM

Would it be possible to tell me step by step how to do this? I'm fairly new to Mac.

How do you create a file under /etc and what programs are used.
I am assuming the following lines are written in Terminal

sudo chown root:wheel /etc/rc.local
sudo chmod 755 /etc/rc.local

but where to these lines get written?

#!/bin/sh

# block serial check for M$ Office:

/sbin/ipfw add 0 deny udp from any to any 2222


I wrote them in text editor and tried to save it under /etc/rc.local but I received a message saying I cannot modify the folder.

I would like to be able to understand my mac a little more and would appreciate any help.

Thanks



[ Reply to This | # ]
Disable Office v.X network serial number check
Authored by: boydwick on Jan 03, '07 04:05:06PM
To make the file in terminal, type the following one line at a time (<return> means hit the return key) at the command line:

cd /etc <return>
sudo vi rc.local <return>

At this point you will be asked for your administrative password. Type it in and hit the <return> key.

Once the file is open, hit the <i> key on your keyboard and paste or type in the following (provided in voldenuit's post above):

#!/bin/sh

# block serial check for M$ Office:

/sbin/ipfw add 0 deny udp from any to any 2222

When you have finished pasting or typing them in, hit the <esc> key on your keyboard followed by the <shift> <:>, <w>, and <q> keys, then hit <return>.


Make sure to set the file ownership and permissions as voldenuit suggests by typing in the following one at a time followed by a <return>:

sudo chown root:wheel /etc/rc.local <return>

sudo chmod 755 /etc/rc.local <return>

That should do it.

You probably don't want to enable the root user in terminal for any of this, but just in case:

http://docs.info.apple.com/article.html?artnum=106290

For help learning commands for the basic shell editor "vi":

http://www.cs.colostate.edu/helpdocs/vi.html


[ Reply to This | # ]
Disable Office v.X network serial number check
Authored by: apfhex on Jun 09, '08 02:08:08PM

I know this is an old hint but I am in a situation where I'm still using Office v.X and voldenuit's + boydwick's posts where fantastic in resolving this issue.



[ Reply to This | # ]