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

10.5: Some additional replacement tools for NetInfo UNIX
This may be more a server admin topic, but since there isn't one for Leopard Server I'll mention it here.

Yes, many have noticed (and some with great joy) that NetInfo is no longer part of the client OS (it's been gone from the server for a while). Most notably, NetInfo Manager is gone, replaced by Directory Utility, advanced settings in the Accounts System Preference (right-click on a user to see it), and some command line tools. The root account can be enabled from Directory Utility or use dsenableroot from the command line.

The main point of this hint is that all the ni* command line tools are gone, too. If you have written scripts to e.g. create a new user using the ni* tools, now is the time to rewrite them using dscl and other related tools:
  • Use dsimport in place of niload
  • Use dsexport in place of nidump
  • Use dseditgroup for group management
Although the NetInfo database itself is gone, the equivalent data is at /var/db/dslocal -- and in plist XML format, so it's fairly easy to read and modify. As with all changes to critical data structures, I'd suggest having a good backup before making changes. Changes at this level could render your system unbootable.

[robg adds: We've covered other aspects of NetInfo's demise, but there's some new info in this hint.]
    •    
  • Currently 3.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[17,615 views]  

10.5: Some additional replacement tools for NetInfo | 0 comments | Create New Account
Click here to return to the '10.5: Some additional replacement tools for NetInfo' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.