Here are the scripts that Mac OS X/Darwin need to create/delete users, and a usermod that lets sv_users do it's stuff. sv_ni_dump dumps the NetInfo info into /etc/passwd and /etc/group so sv_users can work. Those files are not normally used on this platform, and the nidump command makes flat-file versions of them. sv_ni_dump must be run before sv_groups or sv_users. These haven't been well tested, so I haven't modified the Makefiles to auto-install them if it detects a netinfo installation (presence of niutil).

On the topic of Makefiles, I noticed that the Savane downloads actually ship with the makefiles pre-made, and don't require ./configure to be ran. I'm not sure if this is intentional, but I believe that ./configure should generate the Makefile, and pre-made ones should be removed.

Attachment: darwinscripts.tgz
Description: GNU Zip compressed data



PS: I just called it darwin since that is the name of the underlying OS on Mac OS X, but there no reason it can't be called macosx, or something like that.

Reply via email to