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

theNodge

macrumors newbie
Original poster
Apr 28, 2009
14
0
I am new to Terminal and am trying to edit the bootpd.plist to fix a DHCP error.

I want to add this line:

<key>reply_threshold_seconds</key>
<integer>o</integer>

but everytime I try to save it, it says I dont have the privilages.
I am logged in as ladmin. Should DHCP be off before I edit this?

need some help, thanks.

Nodge
 

calderone

Cancelled
Aug 28, 2009
3,743
352
You need to run whatever text editor you are using with elevated privileges. You do this by placing

Code:
sudo

before your command.

For example:

Code:
 sudo nano /etc/bootpd.plist

If you run into problems with the plist (it isn't loaded), you may need to check the syntax or convert the plist to the proper format. Type

Code:
man plutil

For details on how to do this. This is good practice when modifying plists.
 

gbredneck

macrumors member
Oct 11, 2010
85
7
Thanks

Thanks for those comments about how to edit it. i've found it very useful (even though i am not the OP).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.