🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.bugs
Article #35

niload "features"

#35
From: Mike Matthews
Date: Fri, 08 Jan 1993 01:05
30 lines
2054 bytes
In NeXTstep 3.0, each user gets an 'info' NetInfo directory added to their
usual /users/<name> directory.  This means you can't just niutil -destroy
<domain> /users/<name> to get rid of the user because NetInfo can't destroy
directories with children.

Well, niload -d passwd is supposed to delete any password entries that are
not in the file you load up.  But it can't because of the info directory.
niload should know how to delete that info directory (what *IS* it used for,
anyway?).  This also adds a step to automatic user deletion (niutil -destroy
<domain> /users/<user>/info, which may not be all that easy depending on how
you do the batch deletes).

Also, didn't niload hosts bind to the IP address before?  Now it seems to
bind to the hostname, so if you dump the hosts to a flat file, change their
name, and reload it, you have two hosts with the same IP address (doesn't
*hurt*, but it is annoying).

At least niload -d now overwrites any existing data, and tries to delete
information not in the new file as opposed to blowing away that directory and
reloading it (as I think it did before, anyone care to verify or disprove
that?).
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
...difference of opinion is advantageious in religion.  The several sects
perform the office of a common censor morum over each other.  Is uniformity
attainable?  Millions of innocent men, women, and children, since the
introduction of Christianity, have been burnt, tortured, fined, imprisoned;
yet we have not advanced one inch towards uniformity.
- Thomas Jefferson, "Notes on Virginia"
Technical Details
Message-ID: <17841@umd5.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews
From: matthews@oberon.umd.edu (Mike Matthews)
Newsgroups: comp.sys.next.bugs
Subject: niload "features"
Message-ID: <17841@umd5.umd.edu>
Date: 8 Jan 93 01:05:41 GMT
Sender: news@umd5.umd.edu
Reply-To: matthews@oberon.umd.edu
Organization: University of Maryland, College Park, MD
Lines: 31