Remove FireWall entries. How?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Gps6FJKRBaExAKw5trvEPHkNWMlEZSeGlNnjNAjEaB8abXQDpg2fQ5WMEFWH/7BIPyUu+NL0FO2naejvNlINZ6AeijR5vH0IMlFgJGLOX3Lst65B/vahR/rPZGlEN6GvQ1gk15DXO34qCrTt76UHIDwcJfyuFqKmypW8Alo9DwM= I have added a dictionay named SHK under the firewall dictionary entry of com.apple.sharing.firewall.plist with the following command: defaults write "/Library/Preferences/com.apple.sharing.firewall" "firewall" -dict-add SHK '{ "Port" = (7001,7002); }' ; somewhat like this: ^Firewall --- Dictionary ^SHK ---Dictionary ^ Port --- Array Now what should I do if I want to delete this SHK entry from plist? I have tried: defaults delete "/Library/Preferences/com.apple.sharing.firewall" firewall It deletes the complete firewall dictionary. But I want to remove just SHK entry and not the complete firewall entry. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
rohit dhamija