New (GNU) kernels--what I think

Barry Shein bzs at bu-cs.BU.EDU
Thu Jun 1 10:26:59 AEST 1989


The problem with VMS's privilege bits is that it's just a grab-bag of
privileges roughly modeled on the system resource categories, but not
what you might do with access to them. It seems to have basically
accreted over time with only a little thought to how they might be
used. The result is that the privilege required to do something
reasonable (like create a global mailbox for IPC programming) often
gives you the ability to do something non-obvious and damaging.

And it's the non-obvious and damaging part that often leads systems
admins down the garden path.

See, the model is based on resources, not the power access to those
privileges (resources) grants.

Unix, on the other hand, has basically no model for privileges. All
you can do is grant the rights of another user or group with little
information on what that might imply. I've seen new users write setuid
shell scripts to allow a friend the right to put files into his/her
directory tree. They understand what the problem with this is when you
explain it to them but rarely seem to come up with this prudence on
their own.

It's a problem waiting for yet another solution (model). Even as we
retreat to personal computing environs we simply off-put the access
problems to network resources. This one requires hard thought.
-- 
	-Barry Shein

Software Tool & Die, Purveyors to the Trade
1330 Beacon Street, Brookline, MA 02146, (617) 739-0202



More information about the Comp.unix.wizards mailing list