[comp.unix.wizards] RESULTS from adding unix groups

JPOULIN%BOWDOIN.BITNET@mitvma.mit.edu (09/06/88)

Thanks for all your responses, they were *very* helpful.  I made
two errors in my original posting for adding unix groups.  One:
I said the file was /etc/groups (I did, in fact, mean /etc/group).
Two:  I said the /etc/group file was outdated.  I was absolutely wrong.
I thought it was outdated because the group file was incomplete (it
listed only a few users in a particular group that had many users).
I didn't realize that the GID in the passwd file does not need to
to be in the group file as well.  Some users on this system have
the same GID in the group file as in the passwd file (which I didn't
know was unnecessary) thus their one group was recorded in two places.
The addgroup program only adds a group name to the /etc/group file
(I think), it cannot be used to add a group to a user.

Again, thanks for all your help.

Jeff Poulin

rml@hpfcdc.HP.COM (Bob Lenk) (09/13/88)

> This confirms that `dd bs=N' and `dd ibs=N obs=N' do different things.

When you think about it, this really has to be the case.  If "bs=N" is
to avoid internal copying, it has little choice about how to handle
reads shorter than of K ( < N ) bytes.  It could write K bytes, or it
could attempt to read N-K bytes before doing a write.  Neither is
equivalent to "ibs=N obs=N".  Arguably the latter behavior would be
preferable, since it is clear that the input block size is not an
absolute.  The manual page should point this out.

		Bob Lenk
		hplabs!hpfcla!rml
		rml%hpfcla@hplabs.hp.com