On Wed, 29 Sep 2004, joerg van den hoff wrote:

> I never managed to understand fully the interaction of the standard UNIX
> config files and the NetInfo stuff used (partly?) in MacOS

It's an evolving relationship, but basically if an application has no 
override (e.g. setting a shell in Terminal's preferences), then NetInfo 
controls most configuration settings. (In 10.4, this will probably be 
replaced by OpenLDAP, but it kind of doesn't matter, as NI and LDAP can 
already interact with the same system database files.)

Anyway, it's fairly easy to interact with this stuff on the command 
line. If you want to change your shell that way, do it like this:

    sudo dscl . -create /users/youraccount shell /bin/zsh

Or equivalent. 

Also, 10.3 offers the usual Unix chsh, chfn, chpass commands.

This can all be examined with the `nireport` command:

    nireport . /users uid name home realname shell

Or if you miss the old /etc/password format, try `nidump passwd .`


NetInfo is actually pretty useful once you get used to it.
 


-- 
Chris Devers


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to