Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Laura Mazzaferro <laura.mazzaferro@lkg.mts.dec.com>
Subject: Re: Running DCE Applications
Date: 1995/11/14	[thread overview]
Message-ID: <48amlr$j7b@nntpd.lkg.dec.com> (raw)
In-Reply-To: 482imq$dod@pirates.cs.swt.edu

peng@pirates.cs.swt.edu (Wuxu Peng) wrote:
>Now I am confused. There four responses (thanks).  It seems
>that most of them implied that the DCE cell in our Computer
>Center was not set up right. 

Wuxu,

I'm guessing here, as is everyone, so please keep that in mind. We don't
yet have a lot of information to go on. In any case, I suspect that your
cell is probably set up correctly. I also suspect that there's nothing wrong
with your application. What is wrong, however, is what the people in your
Computing Center told you. It is not true that Digital, or any other vendor
for that matter, requires a user to be root in order to run DCE applications.

What I assume they meant is that you might have to be root in order to run the
*specific* applications you're trying to run. If they are as simple as you
describe, then they are probably limited to using the machine credentials
on the system. That means that you must be root. See below.

>But your post appears to say
>that the application was not written properly.  The applications
>that our students tried to run were the simpliest possible
>ones.  I only taught the first five chapters of the OSF book
>(published by O'Reilly).   I thought that I may still have
>some of my students' programs and I may send you a copy if
>I found one.
>
>Thanks.
>--wuxu peng (peng@pirates.cs.swt.edu)

Whether or not these programs were the "simplest possible" means one
thing to one person and something entirely different to someone else.
The 'easiest' way to write a DCE application and make use of authentication, 
by most standards, is to set things up so that the default machine credentials
are required. That means that the application doesn't have to bother creating
new principal names and security groups, doesn't have to create its own keytab
file and manage its contents, doesn't have to modify acls on existing objects
to add permissions for new principals, etc. If the application doesn't want 
to have to worry about any of this, it can simply take advantage of the
credentials that root is endowed with by default; that is, the machine
credentials. It's not to say that the application doesn't have any
housekeeping to worry about, but it's considerably less if you're running
as root. (Keep in mind, however, that there are disadvantages to requiring
that this application be run as root, but since this is for purposes of a 
class, I wouldn't worry about it. In a production environment, requiring
everything to be run as root is probably not a viable option.)

So, it's very possible that these 'simple application' does require
you to be root to run it. It, by no means, is a general statement about
how all applications must be run. Try it out!

Laura Mazzaferro




      parent reply	other threads:[~1995-11-14  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-07  5:00 Running DCE Applications Wuxu Peng
1995-11-08  5:00 ` Jon Mauney
1995-11-09  5:00 ` Rich Salz
     [not found] ` <47tpp6$2j3@nntpd.lkg.dec.com>
1995-11-11  5:00   ` Wuxu Peng
1995-11-12  5:00     ` Jon Mauney
1995-11-14  5:00     ` Laura Mazzaferro [this message]
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