Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mamros@ftp.com  (Shawn Mamros)
Subject: Re: Enhanced Security
Date: Tue, 14 Dec 1993 10:01:36	[thread overview]
Message-ID: <931214100136@cavedog.ftp.com> (raw)
In-Reply-To: AJONES.93Dec12151316@jade.tufts.edu

ajones@jade.tufts.edu (Alex Jones) writes:
>We are running ULTRIX 4.2A on our network and are thinking about running at
>enhanced security.  The only problem is that we have a few machines running
>DEC OSF/1 V1.3, and a few PC's hooked up to the network via PC-Interface.
>Is it possible for us to run the ULTRIX machines at ENHANCED mode, and still
>have the PC's and the ALPHA's on the same network?

If by that question you mean "will the AXPs and PCs be able to interoperate
with the ULTRIX boxes on the same physical network?", the answer is yes.
If you mean "will the AXPs (or any other UNIX or UNIX-like boxes) be able
to share the same distributed auth database for user passwords that the
ULTRIX boxes running enhanced security use?", the answer is no.  The auth
database used for ULTRIX enhanced security (distributed or local) is unique
to ULTRIX; no other UNIX supports it.  (However, PCs running some form of
PC-NFS, assuming the existance of a pcnfsd on the ULTRIX box which knows how
to use the auth database, will be able to use the same password.)

>Has anyone ever tried this?
>Might we have to install MIT's Kerberos on the ALPHA's?
>What is the general opinion on ENHANCED security?  Is it worth setting up?
>Is it like MIT's Kerberos?

What ULTRIX enhanced security gives you is a supplement to the "traditional
UNIX" /etc/passwd file/database, known as the auth database, which is
readable by root only and which contains the users' encrypted passwords
as well as several other fields (a failed login count, a password expiration
time, an audit mask, and one or two others which I can't remember offhand).
The encrypted password itself is encrypted with crypt16(), not crypt(),
so it allows up to 16 characters in a password as opposed to eight.  Since
Joe Random User can't read the auth database (assuming that root isn't
compromised somehow), you don't have to worry about somebody running programs
like Crack on /etc/passwd trying to find weak passwords, because the
encrypted password field in /etc/passwd contains just a "*" under ULTRIX
enhanced security.

The auth database can be local to each machine, or it can be distributed.
In the distributed case, access to the auth data is served by the ULTRIX
named.  This named contains modifications which require other systems
to authenticate themselves before an auth database lookup request is granted.
The authentication mechanism is Kerberos V4; each machine running ULTRIX
enhanced security with a distributed auth database is required to have a
principal whose key is stored in a keyfile readable only by root.  This key
is then used to obtain a ticket which must be presented to named before
an auth database lookup is allowed.

It is important to keep in mind that Kerberos itself, as used at MIT and
most other places, is NOT the same as ULTRIX enhanced security.  Under
the ULTRIX scheme, it is the auth database (which has nothing to do with
Kerberos) that is used to authenticate users.  In a "true" Kerberos
environment, individual Kerberos principals are granted to users, which
allow users to obtain tickets at login time and when running "Kerberized"
network services that authenticate themselves to those services without
requiring passwords (plaintext or encrypted) to cross the net.  Users
do not have principals and do not get tickets under the ULTRIX setup.
Getting the MIT Kerberos code will not provide you with anything that can
be used to perform distributed auth database lookups on non-ULTRIX boxes;
you'd need access to the ULTRIX libc and libauth source code (or be able
to reverse-engineer their scheme) for that.

One other drawback with the auth database worth mentioning is that it is
indexed by UID, not username.  This means that two different accounts that
share a common UID (such as root and operator) must have the same password.

If sharing a common password database across all of your UNIX boxes is
important to you, then ULTRIX enhanced security is a bad idea.  Otherwise,
it might be worth considering if you want to keep passwords (encrypted or
otherwise) hidden from mere mortal users.  But don't expect it to give
you the benefits of secure authentication of users over a network which
Kerberos gives you, because it doesn't.

-Shawn Mamros
E-mail to: mamros@ftp.com
(As always, speaking for myself only...)



  reply	other threads:[~1993-12-14 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-12 20:18 Enhanced Security Alex Jones
1993-12-14 15:01 ` Shawn Mamros [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-02-06 15:46 Enhanced security John Hill
1998-11-17  5:00 Enhanced Security Mark
1998-11-17  5:00 ` Nikola Milutinovic
1998-11-18  5:00   ` John Ferlan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox