From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,638d979096bb532d X-Google-Attributes: gidf9ba4,public X-Google-Thread: f678f,638d979096bb532d X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,638d979096bb532d X-Google-Attributes: gidfee84,public From: Laura Mazzaferro Subject: Re: Running DCE Applications Date: 1995/11/14 Message-ID: <48amlr$j7b@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 119362019 references: <47nv5n$1uo@pirates.cs.swt.edu> <47tpp6$2j3@nntpd.lkg.dec.com> <482imq$dod@pirates.cs.swt.edu> content-type: text/plain; charset=us-ascii organization: DCE Engineering x-url: news:482imq$dod@pirates.cs.swt.edu mime-version: 1.0 newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,comp.soft-sys.dce x-mailer: Mozilla 1.1N (X11; I; OSF1 T4.0 alpha) 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