PDA

View Full Version : bootpd.plist editing... need assistance




theNodge
Jun 11, 2010, 01:58 AM
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
Jun 11, 2010, 02:00 AM
You need to run whatever text editor you are using with elevated privileges. You do this by placing

sudo

before your command.

For example:

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

man plutil

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

gbredneck
Feb 16, 2011, 03:30 AM
Thanks for those comments about how to edit it. i've found it very useful (even though i am not the OP).