[Admin-ml] NetBoot, NetRestore DeployStudio...

Laurent PERTOIS laurent_pertois at mac.com
Jeu 10 Jan 00:06:50 CET 2008


On 9 janv. 08, at 10:44, Frederic Goudal wrote:

> Je voulais (oui je sais..) tenter de changer un truc dans /Library/ 
> Preferences/com.apple.preferences.sharing.plist
> Et un commande de l'ordre :
> defaults read /Library/Preferences/com.apple.preferences.sharing
>
> me dit que le fichier n'existe pas... en fait il cherche dans /var/ 
> root/Library....

Euh, perso je n'ai pas ce fichier sur ma machine en Leopard...

> Il y a un éditeur command line de fichier plist ?


Bah, si on veut chiader un peu par rapport à defaults, il y a /usr/ 
libexec/PlistBuddy maintenant sur Leopard, avant il fallait chercher  
dans un receipt d'installation d'Apple, j'utilisais cette commande :

locate PlistBuddy | grep Receipts | sed 2,10000d

Nigel Kersten avait parlé un peu du produit :

<http://explanatorygap.net/2006/07/14/plistbuddy-is-the-shiznit/>

Leopard intègre un man :

<x-man-page://PlistBuddy>

Par contre, je ne comprends toujours pas pourquoi ils ont été collé ça  
dans /usr/libexec en dehors du $PATH par défaut :(

-- 
When a man sits with a pretty girl for an hour, it seems like a minute.
But let him sit on a hot stove for a minute -- and it's longer than any
hour.  That's relativity.                        -- Albert Einstein




Plus d'informations sur la liste de diffusion Admin-ml