* Running DCE Applications
@ 1995-11-07 5:00 Wuxu Peng
1995-11-08 5:00 ` Jon Mauney
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Wuxu Peng @ 1995-11-07 5:00 UTC (permalink / raw)
Is it possible for normal users to run DCE applications?
I taught a distributed system class in the spring and DCE
was part of the topics. However, my students could not
run their DCE programs. I was told by our Computer Center
that DEC only allows root to run applications. Can somebody
confirm this? I have to teach the distributed system class
again in next spring.
Thanks.
--
--wuxu peng (peng@pirates.cs.swt.edu)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Running DCE Applications 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> 2 siblings, 0 replies; 6+ messages in thread From: Jon Mauney @ 1995-11-08 5:00 UTC (permalink / raw) peng@pirates.cs.swt.edu (Wuxu Peng) writes: >Is it possible for normal users to run DCE applications? >I taught a distributed system class in the spring and DCE >was part of the topics. However, my students could not >run their DCE programs. I was told by our Computer Center >that DEC only allows root to run applications. Can somebody >confirm this? I have to teach the distributed system class >again in next spring. In general, ordinary users can run both the client and server sides of DCE applications. DCE has no prohibitions against this. It is possible that your computing center has some policy about this, or that the person didn't know what they were talking about. If the application server does the standard operations of advertising with CDS and registering security with SEC, there are several permissions that must be set up correctly before users could start the server: a directory to advertise in, a principal to authenticate as, access to a keytab file. You'll probably either need to enlist the help of someone from your computing center to set these up, or have your students run unauthenticated applications and use string binding. -- Jon Mauney jon@mauney.com Mauney Computer Consulting (919) 828-8053 Raleigh NC "Have TGT, will travel." ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Running DCE Applications 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> 2 siblings, 0 replies; 6+ messages in thread From: Rich Salz @ 1995-11-09 5:00 UTC (permalink / raw) In <47nv5n$1uo@pirates.cs.swt.edu> peng@pirates.cs.swt.edu (Wuxu Peng) writes: >Is it possible for normal users to run DCE applications? Yes. Not only is this possible, it is the whole point! >I was told by our Computer Center >that DEC only allows root to run applications. This is complete nonsense. /r$ ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <47tpp6$2j3@nntpd.lkg.dec.com>]
* Re: Running DCE Applications [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 0 siblings, 2 replies; 6+ messages in thread From: Wuxu Peng @ 1995-11-11 5:00 UTC (permalink / raw) Laura Mazzaferro (laura.mazzaferro@lkg.mts.dec.com) wrote: : peng@pirates.cs.swt.edu (Wuxu Peng) wrote: : > : >Is it possible for normal users to run DCE applications? : : Yes, it's possible for "normal users" to run DCE applications. : The DCE applications that you couldn't run as someone other than : root probably didn't create their own principal names and associated : acls. Running as root entitles you to the machine credentials by default : and also enables access to objects which have permissions enabled for the : local self principal. It sounds like the applications that were run : either required you to be root or didn't appropriately set acls on the : referenced objects to allow access by other principals. : : Take a look at what the applications are doing and what access control : they're enforcing. There are a couple ways to solve the problem so, : depending upon what you're trying to teach, you can take care of by : programming or, potentially, using acl_edit. 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. 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) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Running DCE Applications 1995-11-11 5:00 ` Wuxu Peng @ 1995-11-12 5:00 ` Jon Mauney 1995-11-14 5:00 ` Laura Mazzaferro 1 sibling, 0 replies; 6+ messages in thread From: Jon Mauney @ 1995-11-12 5:00 UTC (permalink / raw) peng@pirates.cs.swt.edu (Wuxu Peng) writes: >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. 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. You received conflicting responses because there are quite a few things that could have prevented your applications from running, so everybody was guessing at what might have happened. I was hoping you'd take the list of possibilities and do a little investigating to see which situation actually applied at your site. Can you run any of the sample applications from the O'Reilly book, like the arithmetic example? Seeing the error messages is probably the most important single thing in figuring out what is wrong. -- Jon Mauney jon@mauney.com Mauney Computer Consulting (919) 828-8053 Raleigh NC "Have TGT, will travel." ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Running DCE Applications 1995-11-11 5:00 ` Wuxu Peng 1995-11-12 5:00 ` Jon Mauney @ 1995-11-14 5:00 ` Laura Mazzaferro 1 sibling, 0 replies; 6+ messages in thread From: Laura Mazzaferro @ 1995-11-14 5:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1995-11-14 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox