NetInfo Manager

NetInfo Manager
NetInfo Manager
NetInfo Manager screenshot
Developer(s) Apple Computer
Stable release 1.4
Operating system Mac OS X
Type Networking
Website Apple – Mac OS X

NetInfo Manager is a Mac OS X application to manage the built-in Mac OS X UNIX directory system.

It is found in /Applications/Utilities/NetInfo Manager.app in Mac OS X versions 10.0 through 10.4.11 but it has been removed in Mac OS X 10.5 "Leopard". In 10.5, the functions typically previously associated with NetInfo Manager have been moved to the Directory Utility application, and the Accounts pane of System Preferences. (In addition, the nicl NetInfo command line utility has been replaced with dscl command.)

Contents

Background

All versions of Mac OS X have used Netinfo (until Leopard 10.5). Netinfo was historically used by NextStep as an OS configuration database. The major uses for netinfo were as an alternate configuration database for the /etc files. Users, groups, host entries and file system mount records have historically been stored in plain text files that are read/write root-only, and read world for everyone else. The netinfo database on Mac OS X was typically stored in /var/db/netinfo/local.nidb/, though much of the information in the database could be presented in the style of /etc files using the nidump command. For example nidump passwd would produce output in the colon separated format of /etc/passwd.

As of Leopard all contents of this file have migrated to /var/db/dslocal – each NetInfo record is now a .plist (an XML structure for representing structured data commonly used on the Mac OS X platform). For example a user record named "admin" and its contents can be found at /var/db/dslocal/nodes/default/users/admin.plist. To the trained eye you will see the contents of this .plist file represent the common posix user information plus some information unique to Mac OS X. Groups can similarly be found at /var/db/dslocal/nodes/default/groups, other record types follow the "default" portion of that file path.

NetInfo Manager was historically used by end users to modify the contents of the NetInfo database for operations such as changing a user's shell attribute, managing groups, enabling the root user, editing filesystem mount records, and host records. All of these operations can be accomplished with Leopard using new and existing tools provided with the OS.

Methods for editing users attributes on Mac OS X Leopard (user shell, uid, primary gid, home directory path)

  • command line: dscl (Panther, Tiger, Leopard)
  • System Preferences:Accounts Pane – unlock the accounts pane – right-click/control-click on a user account – pop-up menu "advanced" – this panel will let you edit user attributes.
Note: you may need to reboot after changing this sort of information, or run 'dscacheutil -flushcache' from the command line.

Methods for adding file system mount records on Leopard

  • edit /etc/fstab
  • Launch Directory Utility (/Applications/Utilities/Directory Utility) – click show advanced settings – click on mounts in the tool bar
  • command line: dscl can be used to manage mount records in the new dslocal database

Methods for adding host records on Leopard

  • edit /etc/hosts
  • command line: dscl can be used to manage host records in the new dslocal database
  • documented method using dscl can be found here [1]

Methods for managing group records on Leopard

  • command line: dseditgroup – man dseditgroup for more information (Tiger, Leopard)
  • System Preferences:Accounts Pane – unlock the accounts pane – click the "plus" button – in the pop-up menu you can choose "group"

It is not recommended that you edit groups using dscl – because while possible the group schema on Mac OS X is quite complex and hard to manage manually via a tool such as dscl.

Other tools of interest for editing directory information on Leopard include:

  • dscl
  • dsimport
  • dsexport
  • dscacheutil
  • dsmemberutil
  • dseditgroup
  • dsenableroot
  • ping
  • id
  • groups
  • pwpolicy
  • passwd
  • cmmnd

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • NetInfo — is the system configuration database in NeXTSTEP and Mac OS X versions up through Mac OS X v10.4 Tiger . NetInfo replaces most of the Unix system configuration files, though they are still present for running the machine in single user mode; most …   Wikipedia

  • Nidomain — is a command line interface (CLI) utility created by Apple Inc. for use with their Mac OS X Server. The description given by man nidomain is: “ The nidomain utility is an interface to nibindd(8), to which it sends all of its requests about the… …   Wikipedia

  • List of Mac OS X components — Applications and Accessories * Activity Monitor * Address Book * AirPort Admin Utility * Audio MIDI Setup * Automator * Bluetooth File Exchange * BOMArchiveHelper * Calculator * Chess * Classic * ColorSync Utility * Console * Crash Reporter *… …   Wikipedia

  • Finder — Finder …   Википедия

  • QuickTime — Тип Мультимедийный фреймворк Разработчик Apple …   Википедия

  • HFS — У этого термина существуют и другие значения, см. HFS (значения). HFS (англ. Hierarchical File System, иерархическая файловая система) файловая система, разработанная Apple Computer для компьютеров с установленной операционной системой Mac… …   Википедия

  • HFS Plus — Для термина «HFS» см. другие значения. HFS+ Разработчик Apple Файловая система Hierarchical File System Plus Дата представления 19 января 1998 (Mac OS 8.1) Метка тома Apple HFS (Apple Partition Map) 0xAF (MBR) Apple HFSX (App …   Википедия

  • Quartz Composer — Mac OS X Graphics Model Файл:Apple Quartz.jpg Прорисовка QuickDraw • OpenGL • Quartz 2D • Core Image • Core Video Составление Quartz Quartz Composer  это оконная система, используемая в Mac OS X. Она отвечает за представление и подде …   Википедия

  • Apple DVD Player — Скриншот работы DVD Player Тип Воспроизведение DVD дисков Разработчик …   Википедия

  • Keychain — (рус: Связка ключей)  функция (другими словами  технология), с помощью которой, в одном месте операционной системы Mac OS X, в защищённом виде, сохраняются личные данные пользователя (логины и пароли). Основное назначение функции… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”