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


Click here to return to the 'How to change your IP' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to change your IP
Authored by: mblakele on Apr 25, '03 09:11:17PM

I just noticed that scselect messes up the permissions on the /private/var/db/SystemConfiguration/preferences.xml file, which causes all the Locations to disappear from the Apple menu and the Networks PreferencePane.

The fix? Any time you run scselect, remember to chmod the file.

552$ ls -l /private/var/db/SystemConfiguration/preferences.xml 
-rw-r--r--   1 root     wheel      100198 Apr 25 18:01 /private/var/db/SystemConfiguration/preferences.xml
553$ scselect "Home"
CurrentSet updated to 1 (Home)
554$ ls -l /private/var/db/SystemConfiguration/preferences.xml 
-rw-------   1 root     wheel      100198 Apr 25 18:09 /private/var/db/SystemConfiguration/preferences.xml
555$ sudo chmod 644 /var/db/SystemConfiguration/preferences.xml
556$ ls -l /private/var/db/SystemConfiguration/preferences.xml 
-rw-r--r--   1 root     wheel      100198 Apr 25 18:09 /private/var/db/SystemConfiguration/preferences.xml


[ Reply to This | # ]