Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DECAthena
@ 1995-04-20  4:00 PAUL D. CHAPIN
  1995-04-21  4:00 ` DECAthena Peter Mayne
  0 siblings, 1 reply; 22+ messages in thread
From: PAUL D. CHAPIN @ 1995-04-20  4:00 UTC (permalink / raw)


What do I gain with DECAthena as opposed to just running NIS/NFS?

--
Paul Chapin
User Services Coordinator
Amherst College




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-20  4:00 DECAthena PAUL D. CHAPIN
@ 1995-04-21  4:00 ` Peter Mayne
  1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
                     ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Peter Mayne @ 1995-04-21  4:00 UTC (permalink / raw)


In article <3n6cs8$hqn@amhux3.amherst.edu>,
pdchapin@news.amherst.edu (PAUL D. CHAPIN) wrote:

> What do I gain with DECAthena as opposed to just running NIS/NFS?

You get a central administration point for users, file services,
passwords, etc. You add a user once, then that user can log on anywhere
without having to update /etc/passwd or automount or anything.
The administration utility is Motif, but you can use a command line
if you want.

You get easy workstation installation. It takes <15 minutes from
opening the box and taking out your new workstation, to logging on.
If you accidentally rm /vmunix, or you suspect somebody has done
something dodgy, or just for the heck of it, reinstall. It takes
hardly any time at all.

You get security. The whole environment uses Kerberos for authentication.
You can quite freely tell everyone what the workstation root password is,
and it won't help them one bit. Sure they can hack their own workstation,
but who cares? (Apparently MIT has the root password written in foot-high
letters on a wall somewhere.)

You get management savings. The estimates are something like 1 manager
per 20 workstations in a normal environment, 1 manager per 200 workstations
in an Athena environment (from memory).

You get a service, not a software product. Digital sells DECAthena as
a consulting project, not a CD. This means we come to you and set it
up for you.

You get added extras like Zephyr for "real-time" messaging, on-line
conferencing, and a couple of others I can't remember at the moment.

You get easy upgrades. Instead of running around n workstations, and
upgrading each one, you can do a central upgrade and let the workstations
upgrade themselves.

That's all I can dredge up from memory. Try doing a search on
http://www.digital.com/ for DECAthena.

PJDM
--
Peter Mayne                     | My statements, not Digital's.
Digital Equipment Corporation   | Author of NTj.
Canberra, ACT, Australia        | "Shine on, you crazy Alpha."




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-21  4:00 ` DECAthena Peter Mayne
  1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
@ 1995-04-21  4:00   ` stev
  1995-05-05  4:00   ` DECAthena J.Brainard
  2 siblings, 0 replies; 22+ messages in thread
From: stev @ 1995-04-21  4:00 UTC (permalink / raw)


In article <3n7js2$ghg@jac.zko.dec.com> Peter.Mayne@cao.mts.dec.com (Peter Mayne) writes:

    In article <3n6cs8$hqn@amhux3.amherst.edu>,
    pdchapin@news.amherst.edu (PAUL D. CHAPIN) wrote:
    
    > What do I gain with DECAthena as opposed to just running NIS/NFS?
    
    You get a service, not a software product. Digital sells DECAthena as
    a consulting project, not a CD. This means we come to you and set it
    up for you.
    
this kind of implies that it is beyond the average person's ability
to install and integrate the software. from trying to install
kerberos alone, i can understand that happening . . .

i am sure that decathena offers alot, but i woudl imagine that it may
be easy to screw up if you try to do something that they hadnt
considered before . . .





^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-21  4:00 ` DECAthena Peter Mayne
@ 1995-04-21  4:00   ` PAUL D. CHAPIN
  1995-04-22  4:00     ` DECAthena John Hascall
  1995-04-23  4:00     ` DECAthena Peter Mayne
  1995-04-21  4:00   ` DECAthena stev
  1995-05-05  4:00   ` DECAthena J.Brainard
  2 siblings, 2 replies; 22+ messages in thread
From: PAUL D. CHAPIN @ 1995-04-21  4:00 UTC (permalink / raw)


Peter Mayne (Peter.Mayne@cao.mts.dec.com) wrote:
: In article <3n6cs8$hqn@amhux3.amherst.edu>,
: pdchapin@news.amherst.edu (PAUL D. CHAPIN) wrote:

: > What do I gain with DECAthena as opposed to just running NIS/NFS?

: You get a central administration point for users, file services,
: passwords, etc. You add a user once, then that user can log on anywhere
: without having to update /etc/passwd or automount or anything.
: The administration utility is Motif, but you can use a command line
: if you want.

It would appear that I get most of this with NIS/NFS.  However, from
this and other comments I've gotten, I'm under the impression that, in
addition to better security, I get a lot of nice administrative dodads
that are great for administering a bunch of workstations.

At first blush it would look like I've got a great environment for
DECAthena. I want it so that any of my users can sit down at any
terminal/PC/MAC and connect to any workstation and see exactly the
same working environment. We're using our workstations basically as
a central computing resource for a large number of users, few of whom
are going to make major demands on the systems.  The concept of "the
user's workstation" doesn't really apply.

The drawback to this is that the number of workstations is extremely
low, as in initially 2.  It would appear that DECAthena involves a
certain amount of overhead that's relatively constant regardless of
the number of workstations involved.  This would imply that it's
probably not the way to go unless the expected growth is to some
minimal number of units.  Does this seem like a reasonable analysis of
the situation.

Of course, what I want to do in the long run is load-balancing between
the workstations, but that's another problem.

--
Paul Chapin
User Services Coordinator
Amherst College




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
@ 1995-04-22  4:00     ` John Hascall
  1995-04-23  4:00     ` DECAthena Peter Mayne
  1 sibling, 0 replies; 22+ messages in thread
From: John Hascall @ 1995-04-22  4:00 UTC (permalink / raw)


PAUL D. CHAPIN <pdchapin@news.amherst.edu> wrote:
}At first blush it would look like I've got a great environment for
}DECAthena. I want it so that any of my users can sit down at any
}terminal/PC/MAC and connect to any workstation and see exactly the
}same working environment.
   ...
}The drawback to this is that the number of workstations is extremely
}low, as in initially 2.  It would appear that DECAthena involves a
}certain amount of overhead that's relatively constant regardless of
}the number of workstations involved.  This would imply that it's
}probably not the way to go unless the expected growth is to some
}minimal number of units.  Does this seem like a reasonable analysis of
}the situation.

   I agree, DECathena does not make much sense until you get to
   dozens of workstations or more (we have ~1000).

John
PS, for load balancing between essentially identical hosts,
    what you probably need is the "shuffle address" records
    feature of newer BIND implementations  For example:

pooh.cc> nslookup isum
Name:    isum.iastate.edu
Addresses:  129.186.149.2, 129.186.149.1

pooh.cc> nslookup isum
Name:    isum.iastate.edu
Addresses:  129.186.149.1, 129.186.149.2
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
  1995-04-22  4:00     ` DECAthena John Hascall
@ 1995-04-23  4:00     ` Peter Mayne
  1 sibling, 0 replies; 22+ messages in thread
From: Peter Mayne @ 1995-04-23  4:00 UTC (permalink / raw)


In article <3n8shr$2ob@amhux3.amherst.edu>,
pdchapin@news.amherst.edu (PAUL D. CHAPIN) wrote:

> The drawback to this is that the number of workstations is extremely
> low, as in initially 2.  It would appear that DECAthena involves a
> certain amount of overhead that's relatively constant regardless of
> the number of workstations involved.  This would imply that it's
> probably not the way to go unless the expected growth is to some
> minimal number of units.  Does this seem like a reasonable analysis of
> the situation.

Yep.

The (theoretical approximate) crossover point where DECAthena becomes
useful is 50 clients. (Don't ask me where that number comes from, I'm
just repeating it.) Certainly for only 2 clients, you probably don't
want DECAthena yet.

I help administer a DECAthena site that started at 50+ and has slowly
worked its way up to 70+. The extra administrative load (~20 clients)
is unnoticeable. Of course, the help desk load grows, but that's a
different story.

PJDM
--
Peter Mayne                     | My statements, not Digital's.
Digital Equipment Corporation   | Author of NTj.
Canberra, ACT, Australia        | "Shine on, you crazy Alpha."




^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: DECAthena
  1995-04-21  4:00 ` DECAthena Peter Mayne
  1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
  1995-04-21  4:00   ` DECAthena stev
@ 1995-05-05  4:00   ` J.Brainard
  1995-05-16  4:00     ` bad.DECAthena (was Re: DECAthena) Leslie Giles
  2 siblings, 1 reply; 22+ messages in thread
From: J.Brainard @ 1995-05-05  4:00 UTC (permalink / raw)


>pdchapin@news.amherst.edu (PAUL D. CHAPIN) asked:
>> What do I gain with DECAthena as opposed to just running NIS/NFS?

To which Peter.Mayne@cao.mts.dec.com  (at DEC) replied
>You get a central administration point for users, file services,...
(and he went on to list its pluses).

Paul, you might be better off asking what you _lose_ with Athena.
You lose the ability to ftp into a machine and get files from your
file store (although you can ftp into a machine that you are 
currently logged into, which is ok if you can remember which one that is,
or you can bypass the whole mess by using automount (maybe)); 
you lose the ability to read your mail after you've been logged on 
for more than 12 or 24 hours (one's ticket "expires" yielding the 
message "Intruder Alert" if you subsequently type "whoami").  

It's slow, too, which means you sit around waiting to log out,
among other things.

Our local Computing Centre just dropped Athena on its 20+ alpha 
workstations in preference for NIS after over a year of numerous and 
continuous user complaints.  The Centre felt that DEC's support in 
providing upgrades for Athena that could run under OSF/1 upgrades was 
just about non-existent.  This is a big problem because loads of software
packages that we use regularly will only run under OSF/1 V.2.0 or 
3.0 -- but Athena seems to be stuck at V 1.3.

All in all, a real nuisance.
-julii
-- 
---- Julii Brainard,  Environmental Sciences, University of East Anglia
Norwich NR4 7TJ, UK.  phone +44-1603-593127. email:  j.brainard@uea.ac.uk ---
  -------------------------------------------------------------------------
    Opinions Expressed are solely my own, not those of ENV or UEA.



^ permalink raw reply	[flat|nested] 22+ messages in thread

* bad.DECAthena (was Re: DECAthena)
  1995-05-05  4:00   ` DECAthena J.Brainard
@ 1995-05-16  4:00     ` Leslie Giles
  1995-05-16  4:00       ` John Hascall
                         ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Leslie Giles @ 1995-05-16  4:00 UTC (permalink / raw)



I've been involved in trying to implement a development environment and
simple SCM system on an Athena network, and I've ended up disliking Athena.
I came up with a list of problems which I'm using to justify the move from
Athena to NFS/NIS/Automounter, with the total support of the developers who
need to use the system.

This list may be useful to people out there who are considering Athena.

Lezz Giles

-----------------------------------------------------------
Problems with Athena environment

This note contains two lists - the first lists the standard
Unix facilities and tools that do not work in an Athena
environment and other problems.  The second lists the fundamental
inconsistencies between an Athena environment and an NFS/NIS/AMD
environment that cause these problems.


1) It is significantly more difficult to find system
administrators who know Athena than who know the standard
NFS/NIS/AMD environment.

2) There is a learning curve for new developers coming into
an Athena environment.  Most will be coming from an NFS/NIS/AMD
environment.

3) ~user does not work, e.g. I can't copy a file from Brendan's
home directory with "cp ~hannigan/file ."

4) Filesystems must be "attach"ed before they can be used.  One
advantage of the automounter is that if you want a file, it is there
automatically.

5) su and rlogin don't work.

6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
mail scripts) do not work.

7) rsh doesn't work.

8) setuid scripts don't work.

9) telnet is disabled in the standard configuration and it cannot
be enabled without opening a large security hole.

10) The following Unix functions do not always work:
getpwuid(), getpwnam()

11) The standard environment files, .login, .cshrc, .profile and
.env, do not have their normal use of per-user environment
customization.

12) Permissions disappear transparently if you have used telnet to
log into a system for more than around 8 hours, or if you have
a server process running for more than around 8 hours.

13) ls doesn't know how to map uid/gid to usernames and group names.
This means that it is not trivial to find out who owns a file.

14) It is difficult to use NFS to mount "Kerberized" Unix
filesystems on to DOS or NT workstations, on to other Unix
workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.

15) Third party tools typically assume an NFS/NIS/AMD environment
and do not work optimally in an Athena environment, e.g. Clearcase.

16) Athena typically lags Digital Unix by one version, i.e. it is
not possible to use Athena with the latest version of Digital Unix.

17) It is not possible to ftp to a system using a personal user id
when that user is not already logged into the system.

------------------------------------------------------------
The fundamental problems with the Athena environment, which lead
to these problems, are listed below.  The items above are listed
against the responsible fundamental problem.

Generally the combination of all the problems leads to an
environment which isn't Unix - 1,2,15,16

a) The passwd database on each workstation is not maintained by
Hesiod (the Athena counterpart of NIS) - 3, 5, 10, 13, 17

b) Kerberos tickets are associated with a user id and not with a
login session - 7, 9

c) Kerberos tickets are needed for all nfs file accesses - 8, 14

d) Kerberos tickets expire after a period of time - 12

e) Mail is implemented in a completely different way - 6

f) Filesystems need to be explicitly "mounted" or attached - 4

g) Much of the Athena system is driven by user-visible settings, e.g.
environment variables and Athena-specific versions of standard Unix
tools - 11



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-16  4:00     ` bad.DECAthena (was Re: DECAthena) Leslie Giles
@ 1995-05-16  4:00       ` John Hascall
  1995-05-30  4:00         ` J.Brainard
  1995-05-17  4:00       ` Paul J Lustgraaf
  1995-05-18  4:00       ` Steve Dyer
  2 siblings, 1 reply; 22+ messages in thread
From: John Hascall @ 1995-05-16  4:00 UTC (permalink / raw)


Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
}I've been involved in trying to implement a development environment and
}simple SCM system on an Athena network, and I've ended up disliking Athena.
}I came up with a list of problems which I'm using to justify the move from
}Athena to NFS/NIS/Automounter, with the total support of the developers who
}need to use the system.

   I doubt anyone would suggest that the Athena environment isn't
   a little different -- In my mind, the essential question:

       is it worth it?

   comes down to big is your "network" and how much are you willing
   to spend on administering it.

   In our case, we have ~30K users, ~800 machines (~50 servers), 
   and ~300 printers, and *1* full time sys admin and a couple
   dozen "point of contact" people out in the various departments
   we serve (who maybe spend 1hr/week on avg on this stuff).

   So we are willing to put up with a little quirkiness here and there.

}Problems with Athena environment
}
}This note contains two lists - the first lists the standard
}Unix facilities and tools that do not work in an Athena
}environment and other problems.  The second lists the fundamental
}inconsistencies between an Athena environment and an NFS/NIS/AMD
}environment that cause these problems.
}
}
}1) It is significantly more difficult to find system
}administrators who know Athena than who know the standard
}NFS/NIS/AMD environment.

   If you have quality people, I think this is terribly relevant
   (of course, I am of the "hire for general aptitude rather
   than specific knowledge" school of thought).  Our sysadmin
   has only been here a few weeks and he is pretty much up to
   speed already.

}2) There is a learning curve for new developers coming into
}an Athena environment.  Most will be coming from an NFS/NIS/AMD
}environment.

   Hasn't been much of a problem -- geez, some our developers
   are from an MVS or VMS past -- they manage well enough.

}3) ~user does not work, e.g. I can't copy a file from Brendan's
}home directory with "cp ~hannigan/file ."

   Fixed with a trivial mod to tcsh.

}4) Filesystems must be "attach"ed before they can be used.  One
}advantage of the automounter is that if you want a file, it is there
}automatically.

   Some days I think this is good, some days I don't.  If you go
   all AFS or DFS (vs. NFS) as we are doing, it can be a moot point.

}5) su and rlogin don't work.

   Ours do.

}6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
}mail scripts) do not work.

   Athena uses POP-mail.  A plus in my book.

}7) rsh doesn't work.

   Ours does.

}8) setuid scripts don't work.

   Ours do.

}9) telnet is disabled in the standard configuration and it cannot
}be enabled without opening a large security hole.

   Not true for us.

}10) The following Unix functions do not always work:
}getpwuid(), getpwnam()

   In our experience, they work great on Ultrix, poorly on OSF/1
   (wish DEC would actually incorporate Hesiod into OSF/1)

}11) The standard environment files, .login, .cshrc, .profile and
}.env, do not have their normal use of per-user environment
}customization.

   They can, esp, if you use tcsh.

}12) Permissions disappear transparently if you have used telnet to
}log into a system for more than around 8 hours, or if you have
}a server process running for more than around 8 hours.

   So you get new tickets, not a major problem (and a feature
   where unattended sessions can lead to security problems).

}13) ls doesn't know how to map uid/gid to usernames and group names.
}This means that it is not trivial to find out who owns a file.

   This is really the same as point 10.

}14) It is difficult to use NFS to mount "Kerberized" Unix
}filesystems on to DOS or NT workstations, on to other Unix
}workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.

   Nope (well, you give up the Kerberos part).

}15) Third party tools typically assume an NFS/NIS/AMD environment
}and do not work optimally in an Athena environment, e.g. Clearcase.

   Yup, 3rd party software makes too damn many assumptions
   all over the place -- damn annoying in general.

}16) Athena typically lags Digital Unix by one version, i.e. it is
}not possible to use Athena with the latest version of Digital Unix.

   We generally have to wait for something else anyway, so this
   hasn't been a problem for us to date.

}17) It is not possible to ftp to a system using a personal user id
}when that user is not already logged into the system.

   Works for us.


Of course, we aren't afraid to make changes or component substitutions
where we feel that is appropriate.

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-17  4:00       ` Paul J Lustgraaf
@ 1995-05-17  4:00         ` John Hascall
  1995-05-22  4:00         ` Leslie Giles
  1 sibling, 0 replies; 22+ messages in thread
From: John Hascall @ 1995-05-17  4:00 UTC (permalink / raw)


Paul J Lustgraaf <grpjl@iastate.edu> wrote:
}Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:

Well, this is a new one -- DEC slamming a DEC product
and a customer defending it...

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-16  4:00     ` bad.DECAthena (was Re: DECAthena) Leslie Giles
  1995-05-16  4:00       ` John Hascall
@ 1995-05-17  4:00       ` Paul J Lustgraaf
  1995-05-17  4:00         ` John Hascall
  1995-05-22  4:00         ` Leslie Giles
  1995-05-18  4:00       ` Steve Dyer
  2 siblings, 2 replies; 22+ messages in thread
From: Paul J Lustgraaf @ 1995-05-17  4:00 UTC (permalink / raw)


In article <3pag4r$26d@nntpd.lkg.dec.com>,
Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
>
>I've been involved in trying to implement a development environment and
>simple SCM system on an Athena network, and I've ended up disliking Athena.
>I came up with a list of problems which I'm using to justify the move from
>Athena to NFS/NIS/Automounter, with the total support of the developers who
>need to use the system.
>
>This list may be useful to people out there who are considering Athena.
>
>Lezz Giles
>
>-----------------------------------------------------------
>Problems with Athena environment
>
>This note contains two lists - the first lists the standard
>Unix facilities and tools that do not work in an Athena
>environment and other problems.  The second lists the fundamental
>inconsistencies between an Athena environment and an NFS/NIS/AMD
>environment that cause these problems.
>
>
>1) It is significantly more difficult to find system
>administrators who know Athena than who know the standard
>NFS/NIS/AMD environment.

Typical, expect new hires to know everything already.  Much better
to hire people who know how to learn.


>2) There is a learning curve for new developers coming into
>an Athena environment.  Most will be coming from an NFS/NIS/AMD
>environment.

What's so difficult about it?  In my experience, most new hires
are coming from a DOS/Windows environment anyway.


>3) ~user does not work, e.g. I can't copy a file from Brendan's
>home directory with "cp ~hannigan/file ."

Works in our environment just fine.  At any rate, what's the big deal?
Afraid to type a few characters?


>4) Filesystems must be "attach"ed before they can be used.  One
>advantage of the automounter is that if you want a file, it is there
>automatically.

AFS, which any respectable DECAthena shop will use anyway, solves
this problem.  One significant disadvantage of the automounter is that
it is a maintenance headache.  Completely out of character with the
Athena environment.


>5) su and rlogin don't work.

su works just fine for us.  rlogin is a bad idea whose time is long
past anyway.


>6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
>mail scripts) do not work.

Sounds like a feature to me.  MH is the only mail system for *serious*
mail readers.


>7) rsh doesn't work.

Works for us.


>8) setuid scripts don't work.

They work for us.


>9) telnet is disabled in the standard configuration and it cannot
>be enabled without opening a large security hole.

Nonsense.  It is no less secure than a standard Unix environment.


>10) The following Unix functions do not always work:
>getpwuid(), getpwnam()

Works for us.


>11) The standard environment files, .login, .cshrc, .profile and
>.env, do not have their normal use of per-user environment
>customization.

It all depends on how you set it up.


>12) Permissions disappear transparently if you have used telnet to
>log into a system for more than around 8 hours, or if you have
>a server process running for more than around 8 hours.

We let the system administrator choose the ticket lifetime.
Besides, permissions that expire are a *big* security win.


>13) ls doesn't know how to map uid/gid to usernames and group names.

So tell DEC to fix it on OSF/1.  It works fine on Ultrix.


>14) It is difficult to use NFS to mount "Kerberized" Unix
>filesystems on to DOS or NT workstations, on to other Unix
>workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.

A definite plus.  Standard NFS is about as secure as leaving the
barn door open.


>15) Third party tools typically assume an NFS/NIS/AMD environment
>and do not work optimally in an Athena environment, e.g. Clearcase.

So, nobodys forcing you to use Athena.


>16) Athena typically lags Digital Unix by one version, i.e. it is
>not possible to use Athena with the latest version of Digital Unix.

So does AFS and a whole host of third party products.  So what's so
important about having the latest and greatest?


>17) It is not possible to ftp to a system using a personal user id
>when that user is not already logged into the system.

Works fine for us.


>------------------------------------------------------------
>The fundamental problems with the Athena environment, which lead
>to these problems, are listed below.  The items above are listed
>against the responsible fundamental problem.
>
>Generally the combination of all the problems leads to an
>environment which isn't Unix - 1,2,15,16
>
>a) The passwd database on each workstation is not maintained by
>Hesiod (the Athena counterpart of NIS) - 3, 5, 10, 13, 17

This is a problem with OSF/1, not Athena.


>b) Kerberos tickets are associated with a user id and not with a
>login session - 7, 9

Not on our systems, they aren't.


>c) Kerberos tickets are needed for all nfs file accesses - 8, 14

A definite plus.


>d) Kerberos tickets expire after a period of time - 12

Again, a definite security plus.


>e) Mail is implemented in a completely different way - 6

So, who cares?   Besides, if you don't like it, change it back.


>f) Filesystems need to be explicitly "mounted" or attached - 4

Big deal.  With 20,000 users, how else are you supposed to do it?


>g) Much of the Athena system is driven by user-visible settings, e.g.
>environment variables and Athena-specific versions of standard Unix
>tools - 11

A definite plus.  The user controls his envoronment, not the administrator
of each of a 1,000 different machines.
-- 
Paul Lustgraaf            "It's easier to apologize than to get permission."
Network Specialist                                     Grace Hopper
Iowa State University Computation Center                   grpjl@iastate.edu
Ames, IA  50011                                                 515-294-0324



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-16  4:00     ` bad.DECAthena (was Re: DECAthena) Leslie Giles
  1995-05-16  4:00       ` John Hascall
  1995-05-17  4:00       ` Paul J Lustgraaf
@ 1995-05-18  4:00       ` Steve Dyer
  1995-05-22  4:00         ` Leslie Giles
  2 siblings, 1 reply; 22+ messages in thread
From: Steve Dyer @ 1995-05-18  4:00 UTC (permalink / raw)


In article <3pag4r$26d@nntpd.lkg.dec.com>,
Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
>c) Kerberos tickets are needed for all nfs file accesses - 8, 14

No, just at NFS mount time (i.e., "attach" time).
The tickets aren't used for NFS accesses.

>f) Filesystems need to be explicitly "mounted" or attached - 4

I investigated Kerberizing the automounter; it didn't look all that hard;
in fact, I had a prototype working with Athena Kerberized NFS servers.
The big issue had to do with the fact that Athena as distributed
doesn't use NIS (arguably a win), so there'd have to be some degree
of higher-level architectural work to integrate the automounter into
an Athena installation.  Not a big deal.

I don't know if I'd say that "Athena isn't UNIX"; it reflects one set
of engineering choices made to satisfy the needs of a widely distributed
computing environment ca. 1985 or so.  Undoubtedly if it were designed
today for the first time, it might look somewhat different.

-- 
Steve Dyer
dyer@ursa-major.spdcc.com



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-22  4:00         ` Leslie Giles
@ 1995-05-22  4:00           ` John Hascall
  1995-05-26  4:00           ` Steve Dyer
  1 sibling, 0 replies; 22+ messages in thread
From: John Hascall @ 1995-05-22  4:00 UTC (permalink / raw)


Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
}In article <D8spp8.7Ew@spdcc.com>, dyer@spdcc.com (Steve Dyer) writes:
}|> In article <3pag4r$26d@nntpd.lkg.dec.com>,
}|> Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
}|> >c) Kerberos tickets are needed for all nfs file accesses - 8, 14
}|> 
}|> No, just at NFS mount time (i.e., "attach" time).
}|> The tickets aren't used for NFS accesses.
}
}I'm fairly certain that you're wrong - tickets are needed for all
}accesses otherwise how could they expire and suddenly stop access
}to a previously accessible file?

     When the K-NFS server gets the ticket, it notices
     the expiration time inside of it and remembers it
     -- when that time rolls around (modulo the "fudge" it adds)
     you loose access.

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-22  4:00         ` Leslie Giles
@ 1995-05-22  4:00           ` John Hascall
  1995-05-26  4:00             ` Leslie Giles
  1995-05-30  4:00           ` Axel Clauberg
  1 sibling, 1 reply; 22+ messages in thread
From: John Hascall @ 1995-05-22  4:00 UTC (permalink / raw)


Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
}|> >3) ~user does not work, e.g. I can't copy a file from Brendan's
}|> >home directory with "cp ~hannigan/file ."
}|> 
}|> Works in our environment just fine.  At any rate, what's the big deal?
}|> Afraid to type a few characters?
}
}So how do I find out where Brendan's home directory is?  In any case it
}sounds as though you're doing something different in your environment.

      hesinfo hannigan filsys

      (as I mentioned in my post which you apparently ignored,
      we buried this under the covers in tcsh)

}|> >5) su and rlogin don't work.
}|> 
}|> su works just fine for us.  rlogin is a bad idea whose time is long
}|> past anyway.
}
}Once again you must be doing something different from us - Hesiod does
}not distribute the passwd file information and so su does not work.

    Hesiod does distribute the passwd file information (less the
    encrypted password, for that you use Kerberos)

}|> >6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
}|> >mail scripts) do not work.
}|> 
}|> Sounds like a feature to me.  MH is the only mail system for *serious*
}|> mail readers.
}
}This sounds suspiciously like "emacs is the only editor for *serious*
}programmers"...

    Normal Unix mail could be made to work, so far we've not had
    the demand to justify doing it -- besides going with a "POP"
    mail solution lets you integrate with MACs and PCs easier.

}|> >7) rsh doesn't work.
}|> 
}|> Works for us.
}
}Once again you're doing something different with your passwd information.

    You may be disagreeing on the defintion of "works", rsh does
    not acquire tickets on your behalf on the remote end -- it could
    with either a yucky hack or if you had Kerberos V.

}|> >8) setuid scripts don't work.
}|> 
}|> They work for us.
}
}This one I really don't understand - if a script is setuid to uid b, and
}you are running from uid a, then as soon as you start executing the script
}it'll fail because uid b doesn't have any tickets on the system.  How do
}you avoid this?

    Setuid scripts are a bad idea, don't use them.  We find that setuid-root
    programs generally are doing things that don't need tickets (other than
    the user's), but you can through some grossness acquire them.

}|> >9) telnet is disabled in the standard configuration and it cannot
}|> >be enabled without opening a large security hole.
}|> 
}|> Nonsense.  It is no less secure than a standard Unix environment.
}
}In Athena it is normal to know the root password.  The security hole works
}like this: you telnet to my system, getting tickets in your name.  I su
}to root, then su from root to your user id.  Then I can access any files
}on Kerberized filesystems as though I was you.  How do you avoid this?

    And how is this *less* secure than normal NFS?

    BTW, our su doesn't have a well known password (that doesn't
    really add any security, just makes trivial attacks like
    you described less trivial).

    I don't see how you can ever make a multi-user system secure
    against someone who has or can obtain (through physical access,
    for example) "root" access to it.

    This is why client systems are intrinsically single-user
    under Athena -- if you violate this constraint you should
    understand the consequences.

}|> >10) The following Unix functions do not always work:
}|> >getpwuid(), getpwnam()
}|> 
}|> Works for us.
}
}Once again the passwd database stuff.

     Basically because it is built into Ultrix.

}|> >11) The standard environment files, .login, .cshrc, .profile and
}|> >.env, do not have their normal use of per-user environment
}|> >customization.
}|> 
}|> It all depends on how you set it up.
}
}Care to explain a little more fully?

     Use tcsh, see it's docs for info on /etc/csh.cshrc,
     /etc/csh.login, /etc/csh.logout

}|> >12) Permissions disappear transparently if you have used telnet to
}|> >log into a system for more than around 8 hours, or if you have
}|> >a server process running for more than around 8 hours.
}|> 
}|> We let the system administrator choose the ticket lifetime.
}|> Besides, permissions that expire are a *big* security win.
}
}Not if you're trying to run a server process or a long batch job.

  We allow ticket lifetimes upto 30 days -- that covers most
  any long batch job I've seen -- server processes can renew their
  tickets periodically.

}|> >14) It is difficult to use NFS to mount "Kerberized" Unix
}|> >filesystems on to DOS or NT workstations, on to other Unix
}|> >workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.
}|> 
}|> A definite plus.  Standard NFS is about as secure as leaving the
}|> barn door open.
}
}Tell that to the people using PCs who want to access their home directories.

   Get "samba" (see comp.protocols.smb)

}In Unix the concept of a login session is very ill-defined.  For example
}with regard to tickets: 1) your tickets will last beyond your login session;
}2) anybody else with the same uid on the same system can use your tickets;
}3) tickets can expire before your login session is completed.  If you don't
}have these problems then I'm very interested in how you did it.

    We wrote our own login program.

}|> Big deal.  With 20,000 users, how else are you supposed to do it?
}
}What's wrong with the automounter?

   It has its own set of woes.

}|> A definite plus.  The user controls his envoronment, not the administrator
}|> of each of a 1,000 different machines.
}
}You can administer those machines centrally using NIS.

   Ugh, never.


This is not to say that Athena doesn't have its warts, it does,
but IMO anything short of integrating this stuff into the Unix
standard of the year and getting vendors together on it (how long
has DME been coming?) and actually putting it in their Unixes
is going to have warts.

John
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-17  4:00       ` Paul J Lustgraaf
  1995-05-17  4:00         ` John Hascall
@ 1995-05-22  4:00         ` Leslie Giles
  1995-05-22  4:00           ` John Hascall
  1995-05-30  4:00           ` Axel Clauberg
  1 sibling, 2 replies; 22+ messages in thread
From: Leslie Giles @ 1995-05-22  4:00 UTC (permalink / raw)



In article <3pbggd$3ts@news.iastate.edu>, grpjl@iastate.edu (Paul J Lustgraaf) writes:
|> In article <3pag4r$26d@nntpd.lkg.dec.com>,
|> Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:

|> >1) It is significantly more difficult to find system
|> >administrators who know Athena than who know the standard
|> >NFS/NIS/AMD environment.
|> 
|> Typical, expect new hires to know everything already.  Much better
|> to hire people who know how to learn.

I don't expect new hires to know everything, but I do want a good
system administrator who is skilled in looking after my environment.
Why should he/she spend time learning skills which will be useless
almost anywhere else?

|> >2) There is a learning curve for new developers coming into
|> >an Athena environment.  Most will be coming from an NFS/NIS/AMD
|> >environment.
|> 
|> What's so difficult about it?  In my experience, most new hires
|> are coming from a DOS/Windows environment anyway.

The market for software engineers who typically work in a Unix environment
is very open right at the moment, and Unix can be a great empowerer if
used properly.  If there were great advantages to Athena then I wouldn't
complain, but IMHO there aren't.

|> >3) ~user does not work, e.g. I can't copy a file from Brendan's
|> >home directory with "cp ~hannigan/file ."
|> 
|> Works in our environment just fine.  At any rate, what's the big deal?
|> Afraid to type a few characters?

So how do I find out where Brendan's home directory is?  In any case it
sounds as though you're doing something different in your environment.

|> >4) Filesystems must be "attach"ed before they can be used.  One
|> >advantage of the automounter is that if you want a file, it is there
|> >automatically.
|> 
|> AFS, which any respectable DECAthena shop will use anyway, solves
|> this problem.  One significant disadvantage of the automounter is that
|> it is a maintenance headache.  Completely out of character with the
|> Athena environment.

I need to find out about AFS.

|> >5) su and rlogin don't work.
|> 
|> su works just fine for us.  rlogin is a bad idea whose time is long
|> past anyway.

Once again you must be doing something different from us - Hesiod does
not distribute the passwd file information and so su does not work.

|> >6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
|> >mail scripts) do not work.
|> 
|> Sounds like a feature to me.  MH is the only mail system for *serious*
|> mail readers.

This sounds suspiciously like "emacs is the only editor for *serious*
programmers"...

|> >7) rsh doesn't work.
|> 
|> Works for us.

Once again you're doing something different with your passwd information.

|> >8) setuid scripts don't work.
|> 
|> They work for us.

This one I really don't understand - if a script is setuid to uid b, and
you are running from uid a, then as soon as you start executing the script
it'll fail because uid b doesn't have any tickets on the system.  How do
you avoid this?

|> >9) telnet is disabled in the standard configuration and it cannot
|> >be enabled without opening a large security hole.
|> 
|> Nonsense.  It is no less secure than a standard Unix environment.

In Athena it is normal to know the root password.  The security hole works
like this: you telnet to my system, getting tickets in your name.  I su
to root, then su from root to your user id.  Then I can access any files
on Kerberized filesystems as though I was you.  How do you avoid this?

|> >10) The following Unix functions do not always work:
|> >getpwuid(), getpwnam()
|> 
|> Works for us.

Once again the passwd database stuff.

|> >11) The standard environment files, .login, .cshrc, .profile and
|> >.env, do not have their normal use of per-user environment
|> >customization.
|> 
|> It all depends on how you set it up.

Care to explain a little more fully?

|> >12) Permissions disappear transparently if you have used telnet to
|> >log into a system for more than around 8 hours, or if you have
|> >a server process running for more than around 8 hours.
|> 
|> We let the system administrator choose the ticket lifetime.
|> Besides, permissions that expire are a *big* security win.

Not if you're trying to run a server process or a long batch job.

|> >13) ls doesn't know how to map uid/gid to usernames and group names.
|> 
|> So tell DEC to fix it on OSF/1.  It works fine on Ultrix.

passwd database stuff again.

|> >14) It is difficult to use NFS to mount "Kerberized" Unix
|> >filesystems on to DOS or NT workstations, on to other Unix
|> >workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.
|> 
|> A definite plus.  Standard NFS is about as secure as leaving the
|> barn door open.

Tell that to the people using PCs who want to access their home directories.

|> >15) Third party tools typically assume an NFS/NIS/AMD environment
|> >and do not work optimally in an Athena environment, e.g. Clearcase.
|> 
|> So, nobodys forcing you to use Athena.

They are - that's my major problem which made me create this list in the
first place.

|> >16) Athena typically lags Digital Unix by one version, i.e. it is
|> >not possible to use Athena with the latest version of Digital Unix.
|> 
|> So does AFS and a whole host of third party products.  So what's so
|> important about having the latest and greatest?

Something to do with getting fixes, and being told that "that problem is
fixed in the latest version of Digital Unix..."

|> >17) It is not possible to ftp to a system using a personal user id
|> >when that user is not already logged into the system.
|> 
|> Works fine for us.

passwd database again

|> >------------------------------------------------------------
|> >The fundamental problems with the Athena environment, which lead
|> >to these problems, are listed below.  The items above are listed
|> >against the responsible fundamental problem.
|> >
|> >Generally the combination of all the problems leads to an
|> >environment which isn't Unix - 1,2,15,16
|> >
|> >a) The passwd database on each workstation is not maintained by
|> >Hesiod (the Athena counterpart of NIS) - 3, 5, 10, 13, 17
|> 
|> This is a problem with OSF/1, not Athena.

I don't understand why you're saying this.  Hesiod maintains the passwd
database information in Kerberos.  NIS maintains the passwd database in
NIS/NFS systems.  NIS distributes the passwd information; Hesiod doesn't.
Unix doesn't have anything much to do with this kind of activity - it
maintains a single passwd database on the local system only.

|> >b) Kerberos tickets are associated with a user id and not with a
|> >login session - 7, 9
|> 
|> Not on our systems, they aren't.

In Unix the concept of a login session is very ill-defined.  For example
with regard to tickets: 1) your tickets will last beyond your login session;
2) anybody else with the same uid on the same system can use your tickets;
3) tickets can expire before your login session is completed.  If you don't
have these problems then I'm very interested in how you did it.

|> >c) Kerberos tickets are needed for all nfs file accesses - 8, 14
|> 
|> A definite plus.
|> 
|> 
|> >d) Kerberos tickets expire after a period of time - 12
|> 
|> Again, a definite security plus.

Not if you're running a server process or a long batch job - is security
so important that it should stop you getting your job done?

|> >e) Mail is implemented in a completely different way - 6
|> 
|> So, who cares?   Besides, if you don't like it, change it back.

You could say the same thing for every component of Athena, and I'd
jump at the opportunity.

|> >f) Filesystems need to be explicitly "mounted" or attached - 4
|> 
|> Big deal.  With 20,000 users, how else are you supposed to do it?

What's wrong with the automounter?

|> >g) Much of the Athena system is driven by user-visible settings, e.g.
|> >environment variables and Athena-specific versions of standard Unix
|> >tools - 11
|> 
|> A definite plus.  The user controls his envoronment, not the administrator
|> of each of a 1,000 different machines.

You can administer those machines centrally using NIS.

Really, I am interested in how you avoid some of the problems that Athena
introduces - especially the passwd file stuff.

Lezz



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-18  4:00       ` Steve Dyer
@ 1995-05-22  4:00         ` Leslie Giles
  1995-05-22  4:00           ` John Hascall
  1995-05-26  4:00           ` Steve Dyer
  0 siblings, 2 replies; 22+ messages in thread
From: Leslie Giles @ 1995-05-22  4:00 UTC (permalink / raw)



In article <D8spp8.7Ew@spdcc.com>, dyer@spdcc.com (Steve Dyer) writes:
|> In article <3pag4r$26d@nntpd.lkg.dec.com>,
|> Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
|> >c) Kerberos tickets are needed for all nfs file accesses - 8, 14
|> 
|> No, just at NFS mount time (i.e., "attach" time).
|> The tickets aren't used for NFS accesses.

I'm fairly certain that you're wrong - tickets are needed for all
accesses otherwise how could they expire and suddenly stop access
to a previously accessible file?

|> >f) Filesystems need to be explicitly "mounted" or attached - 4
|> 
|> I investigated Kerberizing the automounter; it didn't look all that hard;
|> in fact, I had a prototype working with Athena Kerberized NFS servers.
|> The big issue had to do with the fact that Athena as distributed
|> doesn't use NIS (arguably a win), so there'd have to be some degree
|> of higher-level architectural work to integrate the automounter into
|> an Athena installation.  Not a big deal.

Sounds good.  My major problem is that I don't see the reason for going
with Athena in the first place, so I don't see the reason for lots of
extra effort to get things that you get for "free" without Athena.

|> I don't know if I'd say that "Athena isn't UNIX"; it reflects one set
|> of engineering choices made to satisfy the needs of a widely distributed
|> computing environment ca. 1985 or so.  Undoubtedly if it were designed
|> today for the first time, it might look somewhat different.

I based my statement on the fact that some Unix primitives and standard
commands do not work as they would according to <insert your favourite
Unix standard here>.

I am interested in discussing the pros and cons of Athena though - this
is good stuff so far...

Lezz Giles



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-22  4:00         ` Leslie Giles
  1995-05-22  4:00           ` John Hascall
@ 1995-05-26  4:00           ` Steve Dyer
  1 sibling, 0 replies; 22+ messages in thread
From: Steve Dyer @ 1995-05-26  4:00 UTC (permalink / raw)


In article <3pqg6l$i3u@nntpd.lkg.dec.com>,
Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
   >|> >c) Kerberos tickets are needed for all nfs file accesses - 8, 14
   >|> 
   >|> No, just at NFS mount time (i.e., "attach" time).
   >|> The tickets aren't used for NFS accesses.
   >
   >I'm fairly certain that you're wrong - tickets are needed for all
   >accesses otherwise how could they expire and suddenly stop access
   >to a previously accessible file?

Er, I *know* you're wrong, because I wrote the rpc.mountd code
to support this.  UID mappings on the NFS server have the same
lifetime as the original ticket presented at NFS mount time.
In fact, this isn't a necessity; when we first worked on this at
Athena, NFS UID mappings remained in place for the lifetime of a
login session, though with the timeout, behavior is somewhat more
"AFS-like" (I won't say if this is an improvement! :-)) and more
in line with other services which require Kerberos.

   >Sounds good.  My major problem is that I don't see the reason for going
   >with Athena in the first place, so I don't see the reason for lots of
   >extra effort to get things that you get for "free" without Athena.

It's best to think of Athena (and DECathena) as a computing system
which really only begins to make sense when you have many, many
workstations and servers which have to be maintained by a small
staff.

Some of the other nits you mention (i.e., ~user, etc.) aren't a problem
with the original design of Athena; they just weren't deemed important
enough to build in.  (I haven't seen DECathena in a little more than
two years, but they've done a lot of work on it.)

-- 
Steve Dyer
dyer@ursa-major.spdcc.com



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-22  4:00           ` John Hascall
@ 1995-05-26  4:00             ` Leslie Giles
  1995-05-26  4:00               ` John Hascall
  1995-05-27  4:00               ` Steve Dyer
  0 siblings, 2 replies; 22+ messages in thread
From: Leslie Giles @ 1995-05-26  4:00 UTC (permalink / raw)



In article <3pqur6$999@news.iastate.edu>, john@iastate.edu (John Hascall) writes:

Thanks for your responses - I still have some questions/clarifications.
I'm glad that somebody is taking the time to discuss these Athena issues
with me and I am very interested in continuing this discussion.

|> Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
|> }|> >3) ~user does not work, e.g. I can't copy a file from Brendan's
|> }|> >home directory with "cp ~hannigan/file ."
|> }|> 
|> }|> Works in our environment just fine.  At any rate, what's the big deal?
|> }|> Afraid to type a few characters?
|> }
|> }So how do I find out where Brendan's home directory is?  In any case it
|> }sounds as though you're doing something different in your environment.
|> 
|>       hesinfo hannigan filsys
|> 
|>       (as I mentioned in my post which you apparently ignored,
|>       we buried this under the covers in tcsh)

I also found out about "hesinfo hannigan passwd" recently.  It would be
possible to modify shells to get this to work, assuming you have the
source for the shells (probably means moving everybody away from csh to
tcsh or ksh - not necessarily a bad thing) - but from a system perspective
it would be even nicer to modify the kernel to get the appropriate entry
points to work properly.  Then all shells that support ~ would work.
  
|> }|> >5) su and rlogin don't work.
|> }|> 
|> }|> su works just fine for us.  rlogin is a bad idea whose time is long
|> }|> past anyway.
|> }
|> }Once again you must be doing something different from us - Hesiod does
|> }not distribute the passwd file information and so su does not work.
|> 
|>     Hesiod does distribute the passwd file information (less the
|>     encrypted password, for that you use Kerberos)

I still don't understand.  I try to 'su' to a user-id for somebody who
is not logged on to my system and I get "Unknown login".  I try to 'su'
to a user-id for somebody who is logged on to my system and it works.
To me this implies that the passwd information doesn't exist in the place
that su expects it until that person is actually logged in.

|> }|> >6) Normal unix mail and related enhancements (e.g. xbiff and the emacs
|> }|> >mail scripts) do not work.
|> }|> 
|> }|> Sounds like a feature to me.  MH is the only mail system for *serious*
|> }|> mail readers.
|> }
|> }This sounds suspiciously like "emacs is the only editor for *serious*
|> }programmers"...
|> 
|>     Normal Unix mail could be made to work, so far we've not had
|>     the demand to justify doing it -- besides going with a "POP"
|>     mail solution lets you integrate with MACs and PCs easier.

Good point.  Standard unix mail (even mh) really sucks when you compare it
to other mail systems out there.  You can't even add attachments to unix
mails!  Unix mail really needs a total overhaul and maybe using a POP
server is the start.

|> }|> >7) rsh doesn't work.
|> }|> 
|> }|> Works for us.
|> }
|> }Once again you're doing something different with your passwd information.
|> 
|>     You may be disagreeing on the defintion of "works", rsh does
|>     not acquire tickets on your behalf on the remote end -- it could
|>     with either a yucky hack or if you had Kerberos V.

xswscm-126-% rsh fescue echo hello world
Login incorrect.
(rsh):Kerberos rcmd failed: rcmd protocol failure.
trying normal rsh (/usr/ucb/rsh)
Login incorrect.
xswscm-127-%

This may be due to a configuration problem here, but even if it is
then rsh, by not acquiring tickets, effectively negates the usefulness
of rsh.  The whole dream of using your network of workstations as a
compute-server farm - by stealing cycles from behind people's backs -
disappears.

|> }|> >8) setuid scripts don't work.
|> }|> 
|> }|> They work for us.
|> }
|> }This one I really don't understand - if a script is setuid to uid b, and
|> }you are running from uid a, then as soon as you start executing the script
|> }it'll fail because uid b doesn't have any tickets on the system.  How do
|> }you avoid this?
|> 
|>     Setuid scripts are a bad idea, don't use them.  We find that setuid-root
|>     programs generally are doing things that don't need tickets (other than
|>     the user's), but you can through some grossness acquire them.

While I do, in general, agree with you, it is well worth pointing out the
difference between setuid-root programs and setuid programs.  A
setuid-other-than-root is a great way to share information in a controlled
way.  There are however security problems even with non-root setuid programs,
although I would still maintain that there are areas where they are useful.
The point is that Athena makes it extremely difficult to write setuid
programs by adding incompatible extensions to the Unix permissions scheme.

|> }|> >9) telnet is disabled in the standard configuration and it cannot
|> }|> >be enabled without opening a large security hole.
|> }|> 
|> }|> Nonsense.  It is no less secure than a standard Unix environment.
|> }
|> }In Athena it is normal to know the root password.  The security hole works
|> }like this: you telnet to my system, getting tickets in your name.  I su
|> }to root, then su from root to your user id.  Then I can access any files
|> }on Kerberized filesystems as though I was you.  How do you avoid this?
|> 
|>     And how is this *less* secure than normal NFS?
|> 
|>     BTW, our su doesn't have a well known password (that doesn't
|>     really add any security, just makes trivial attacks like
|>     you described less trivial).
|> 
|>     I don't see how you can ever make a multi-user system secure
|>     against someone who has or can obtain (through physical access,
|>     for example) "root" access to it.
|> 
|>     This is why client systems are intrinsically single-user
|>     under Athena -- if you violate this constraint you should
|>     understand the consequences.

One of the selling points of Athena is that you can publicize the root
password - therefore a "typical" Athena installation would have everybody
knowing their own root password.  A typical non-Athena network (at least
the ones that I worked in) will have a secure root password.  Of course
even if you hide your fileservers in locked rooms a user can still get
root access on his/her own workstation if you give him a screwdriver and
enough time...

After my time with Athena I've developed Giles law of system security:
any system that is sufficiently secure is not sufficiently usable, and
any system that is sufficiently usable is not sufficiently secure.


|> }|> >10) The following Unix functions do not always work:
|> }|> >getpwuid(), getpwnam()
|> }|> 
|> }|> Works for us.
|> }
|> }Once again the passwd database stuff.
|> 
|>      Basically because it is built into Ultrix.

This is why I think you're doing something different and I'm very
interested in what it is.  If these functions work for you then your
Ultrix passwd information is being updated.

|> }|> >11) The standard environment files, .login, .cshrc, .profile and
|> }|> >.env, do not have their normal use of per-user environment
|> }|> >customization.
|> }|> 
|> }|> It all depends on how you set it up.
|> }
|> }Care to explain a little more fully?
|> 
|>      Use tcsh, see it's docs for info on /etc/csh.cshrc,
|>      /etc/csh.login, /etc/csh.logout

On this system my .profile is a copy of a standard Athena profile.  It
calls several centralized Athena scripts which will call ~/.profile.mine
if I have one.  My .profile is not my own; some (but not all) of the
functionality of .profile has been moved to .profile.mine.  Similarly
my $ENV is not my own - I need to use .environment.  There are also
problems that I always have with csh scripts - they try to execute
my .environment which is a ksh file, not a csh file, because both
my .env (ksh) and .cshrc (csh) include it.

Basically my environment-setting files have been hijacked by Athena.
If this isn't true in your environment then you're very lucky.

|> }|> >12) Permissions disappear transparently if you have used telnet to
|> }|> >log into a system for more than around 8 hours, or if you have
|> }|> >a server process running for more than around 8 hours.
|> }|> 
|> }|> We let the system administrator choose the ticket lifetime.
|> }|> Besides, permissions that expire are a *big* security win.
|> }
|> }Not if you're trying to run a server process or a long batch job.
|> 
|>   We allow ticket lifetimes upto 30 days -- that covers most
|>   any long batch job I've seen -- server processes can renew their
|>   tickets periodically.

I didn't realize that you could have tickets that lasted up to 30 days,
and neither did my system administrator.  I'll have to talk to her when
she gets back after the holiday weekend.

Your point about server processes is also valid - it's just very difficult
to find Athena expertise to the level where somebody can tell me how to
do this.  In fact my server tool does try to renew its tickets periodically
(and I think it worked at one time) but the person who knew how to maintain
this has moved to another group.

|> }|> >14) It is difficult to use NFS to mount "Kerberized" Unix
|> }|> >filesystems on to DOS or NT workstations, on to other Unix
|> }|> >workstations e.g. Sun, HP, or on to other products, e.g. Gigaswitch/ATM.
|> }|> 
|> }|> A definite plus.  Standard NFS is about as secure as leaving the
|> }|> barn door open.
|> }
|> }Tell that to the people using PCs who want to access their home directories.
|> 
|>    Get "samba" (see comp.protocols.smb)

Once again I'll talk to my sysadmin.  Thanks!

|> }In Unix the concept of a login session is very ill-defined.  For example
|> }with regard to tickets: 1) your tickets will last beyond your login session;
|> }2) anybody else with the same uid on the same system can use your tickets;
|> }3) tickets can expire before your login session is completed.  If you don't
|> }have these problems then I'm very interested in how you did it.
|> 
|>     We wrote our own login program.
|> 
|> }|> Big deal.  With 20,000 users, how else are you supposed to do it?
|> }
|> }What's wrong with the automounter?
|> 
|>    It has its own set of woes.
|> 
|> }|> A definite plus.  The user controls his envoronment, not the administrator
|> }|> of each of a 1,000 different machines.
|> }
|> }You can administer those machines centrally using NIS.
|> 
|>    Ugh, never.

I'm lost in the indentation levels here...  I'd be very interested in
hearing about problems with the automounter - we used it on my last
project and it seemed to work very well.  Similarly for NIS.

|> 
|> 
|> This is not to say that Athena doesn't have its warts, it does,
|> but IMO anything short of integrating this stuff into the Unix
|> standard of the year and getting vendors together on it (how long
|> has DME been coming?) and actually putting it in their Unixes
|> is going to have warts.

I agree.  Unix itself has many major flaws that will not be
solved for some time.  Athena could have been a great system,
if only they'd moved the functionality down to the other side
of the OS primitives and made Athena Unix a little bit closer
to standard Unix.  Maybe DME will be it - I certainly hope so.

I should also say that I'm specifically talking about a
software development group environment with experienced Unix
developers from a range of backgrounds (Sun, DEC, HP, etc).
An educational environment is completely different, and I
know that there you typically need every bit of security you can
get.  As I said, there's a trade-off here between usability and
security.

Lezz Giles
Release Manager,
HPN



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-26  4:00             ` Leslie Giles
@ 1995-05-26  4:00               ` John Hascall
  1995-05-27  4:00               ` Steve Dyer
  1 sibling, 0 replies; 22+ messages in thread
From: John Hascall @ 1995-05-26  4:00 UTC (permalink / raw)


Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
}john@iastate.edu (John Hascall) writes:

  [...the level of quoting is getting complicated, excuse much trimming...]

     [using ~user construct]
}I also found out about "hesinfo hannigan passwd" recently.  It would be
}possible to modify shells to get this to work, assuming you have the
}source for the shells (probably means moving everybody away from csh to
}tcsh or ksh - not necessarily a bad thing) - but from a system perspective
}it would be even nicer to modify the kernel to get the appropriate entry
}points to work properly.  Then all shells that support ~ would work.

    As far as I know every shell does it's own filename "globbing"
    (it would be nice to have a standard (posix?) globbing function)

}|> }|> >5) su and rlogin don't work.
}|> }|> 
}|> }|> su works just fine for us.  rlogin is a bad idea whose time is long
}|> }|> past anyway.
}|> }
}|> }Once again you must be doing something different from us - Hesiod does
}|> }not distribute the passwd file information and so su does not work.
}|> 
}|>     Hesiod does distribute the passwd file information (less the
}|>     encrypted password, for that you use Kerberos)
}
}I still don't understand.  I try to 'su' to a user-id for somebody who
}is not logged on to my system and I get "Unknown login".  I try to 'su'
}to a user-id for somebody who is logged on to my system and it works.
}To me this implies that the passwd information doesn't exist in the place
}that su expects it until that person is actually logged in.

    I think this and several other problems you mention might be
    for a lack of this line in /etc/svc.conf :

           passwd=local,bind

}While I do, in general, agree with you, it is well worth pointing out the
}difference between setuid-root programs and setuid programs.  A
}setuid-other-than-root is a great way to share information in a controlled
}way.  There are however security problems even with non-root setuid programs,
}although I would still maintain that there are areas where they are useful.

   *Any* setuid script (to any user) is a security hole (to that user).

}The point is that Athena makes it extremely difficult to write setuid
}programs by adding incompatible extensions to the Unix permissions scheme.

        /*
         * get kerberos TGT as "sms" from /etc/srvtab...
         */
        setenv("KRBTKFILE", ticket_file_name, 1);
        status = krb_get_svc_in_tkt(service_name, "", REALM,
            "krbtgt", REALM, ticket_life, "/etc/srvtab");
        if (status != KSUCCESS)  ...

}One of the selling points of Athena is that you can publicize the root
}password - therefore a "typical" Athena installation would have everybody
}knowing their own root password.

    Yes, but Athena assumes that every workstation is for one person
    (at a time).  These two things go together.  Athena's basic
    philosophy is that you can securely provide services over a
    network to clients whether or not the network and/or clients
    are themselves secure.

}knowing their own root password.  A typical non-Athena network (at least
}the ones that I worked in) will have a secure root password.  Of course
}even if you hide your fileservers in locked rooms a user can still get
}root access on his/her own workstation if you give him a screwdriver and
}enough time...

    Exactly -- this is why Athena assumes that any machine a user can
    touch is insecure.

}After my time with Athena I've developed Giles law of system security:
}any system that is sufficiently secure is not sufficiently usable, and
}any system that is sufficiently usable is not sufficiently secure.

    Well, hopefully there is some middle ground to be found
    in there somewhere.

}This is why I think you're doing something different and I'm very
}interested in what it is.  If these functions work for you then your
}Ultrix passwd information is being updated.

    (see /etc/svc.conf)

}|>      Use tcsh, see it's docs for info on /etc/csh.cshrc,
}|>      /etc/csh.login, /etc/csh.logout
}
}On this system my .profile is a copy of a standard Athena profile.  It
}calls several centralized Athena scripts which will call ~/.profile.mine
}if I have one.  My .profile is not my own; some (but not all) of the
}functionality of .profile has been moved to .profile.mine.  Similarly
}my $ENV is not my own - I need to use .environment.  There are also
}problems that I always have with csh scripts - they try to execute
}my .environment which is a ksh file, not a csh file, because both
}my .env (ksh) and .cshrc (csh) include it.
}
}Basically my environment-setting files have been hijacked by Athena.
}If this isn't true in your environment then you're very lucky.

     This is the standard Athena setup and it is how our system
     is setup too, however, users are free to change this however
     they see fit [at their own risk of botching it, of course].

     Since we have standardized on tcsh (although a handful of
     users use something else at their choice), I would like
     to start using the tcsh-provided /etc/csh.XXXX global init
     files and leave the .login etc as people expect them.
     In the old days, when nobody had any previous unix
     experience, it didn't matter that .login etc were not
     "standard unix", but now I think this sticks in the craw
     of "transplants".

}|> }|> >12) Permissions disappear transparently if you have used telnet to
}|> }|> >log into a system for more than around 8 hours, or if you have
}|> }|> >a server process running for more than around 8 hours.
}|> }|> 
}|> }|> We let the system administrator choose the ticket lifetime.
}|> }|> Besides, permissions that expire are a *big* security win.
}|> }
}|> }Not if you're trying to run a server process or a long batch job.
}|> 
}|>   We allow ticket lifetimes upto 30 days -- that covers most
}|>   any long batch job I've seen -- server processes can renew their
}|>   tickets periodically.
}
}I didn't realize that you could have tickets that lasted up to 30 days,
}and neither did my system administrator.  I'll have to talk to her when
}she gets back after the holiday weekend.

     This is an extension we added to Athena here -- we gave it back
     to DEC quite some time back -- I certainly hope they have
     adopted it by now.

}Your point about server processes is also valid - it's just very difficult
}to find Athena expertise to the level where somebody can tell me how to
}do this.  In fact my server tool does try to renew its tickets periodically
}(and I think it worked at one time) but the person who knew how to maintain
}this has moved to another group.

       (see code snippet above)

}|> This is not to say that Athena doesn't have its warts, it does,
}|> but IMO anything short of integrating this stuff into the Unix
}|> standard of the year and getting vendors together on it (how long
}|> has DME been coming?) and actually putting it in their Unixes
}|> is going to have warts.
}
}I agree.  Unix itself has many major flaws that will not be
}solved for some time.  Athena could have been a great system,
}if only they'd moved the functionality down to the other side
}of the OS primitives and made Athena Unix a little bit closer
}to standard Unix.  Maybe DME will be it - I certainly hope so.

   Well, I don't agree that Unix has many major flaws.
   The great number of Unix vendors is a two-sided sword
   unless you are willing to lock into a single vendor
   (negating a major unix plus), then you have to wait for
   good new inovations to spread among the vendors before
   you can make effective use of them.


John
PS, I'm not holding my breath for DME ...
-- 
John Hascall                   ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center  +  Ames, IA  50011  +  515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/john.html"> Homepage </a>



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-26  4:00             ` Leslie Giles
  1995-05-26  4:00               ` John Hascall
@ 1995-05-27  4:00               ` Steve Dyer
  1 sibling, 0 replies; 22+ messages in thread
From: Steve Dyer @ 1995-05-27  4:00 UTC (permalink / raw)


In article <3q4mqs$3v7@nntpd.lkg.dec.com>,
Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
>I also found out about "hesinfo hannigan passwd" recently.  It would be
>possible to modify shells to get this to work, assuming you have the
>source for the shells (probably means moving everybody away from csh to
>tcsh or ksh - not necessarily a bad thing) - but from a system perspective
>it would be even nicer to modify the kernel to get the appropriate entry
>points to work properly.  Then all shells that support ~ would work.

~username has never been built into the kernel on most UNIX systems.
It isn't even recognized in the plain vanilla /bin/sh.  There's just
special code to handle it in the various shells.

Any system which supports a shared libc can handle this nicely with
Hesiodized getpw*() calls.  I believe this is built-in to DECathena
already.

-- 
Steve Dyer
dyer@ursa-major.spdcc.com



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-16  4:00       ` John Hascall
@ 1995-05-30  4:00         ` J.Brainard
  0 siblings, 0 replies; 22+ messages in thread
From: J.Brainard @ 1995-05-30  4:00 UTC (permalink / raw)


>Leslie Giles <giles@fig.nacto.lkg.dec.com> wrote:
>}I came up with a list of problems which I'm using to justify the move from
>}Athena to NFS/NIS/Automounter, ...

In article <3pal9s$nql@news.iastate.edu> john@iastate.edu (John Hascall) writes:
>   I doubt anyone would suggest that the Athena environment isn't
>   a little different -- In my mind, the essential question:
>
>       is it worth it?


Speaking more as a user than an administrator, I have to say Athena was a
pain in the butt.  Perhaps it's the fault of our local people that managed
Athena here that they couldn't set up su, tickets that lasted more than
12 hours, ftp into user accounts on machines that the users wasn't already
logged onto, ls ~users, etc.,  but all of those things were tolerable.  
The unresolvable problem was new versions of big software packages that we 
use heavily only operating on versions of OSF that Athena wasn't compatible 
with.  So either we chuck Athena, or we lag years behind in the versions of 
the software that we needed for our research.  Athena had to be ditched.

-julii
-- 
---- Julii Brainard,  Environmental Sciences, University of East Anglia
Norwich NR4 7TJ, UK.  phone +44-1603-593127. email:  j.brainard@uea.ac.uk ---
  -------------------------------------------------------------------------
    Opinions Expressed are solely my own, not those of ENV or UEA.



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: bad.DECAthena (was Re: DECAthena)
  1995-05-22  4:00         ` Leslie Giles
  1995-05-22  4:00           ` John Hascall
@ 1995-05-30  4:00           ` Axel Clauberg
  1 sibling, 0 replies; 22+ messages in thread
From: Axel Clauberg @ 1995-05-30  4:00 UTC (permalink / raw)


In article <D9849G.tL@spdcc.com> dyer@spdcc.com (Steve Dyer) writes:
> Any system which supports a shared libc can handle this nicely with
> Hesiodized getpw*() calls.  I believe this is built-in to DECathena
> already.
Well, it is built into Ultrix, but not into DECathena. Also, John's
comments concerning svc.conf passwd = local,bind entries are valid
for Ultrix systems, only.
Besides Ultrix, DECathena supports DEC OSF/1 (now Digital Unix), 
SunOS 4.1.3, Solaris 2.3, AIX 3.2.5, HP-UX 9.x. Unfortunately, 
there is no Hesiodized shared libc support for these systems,
not even for DEC OSF/1. For OSF/1, a DCE-like SIA integration
might be better, anyways.
So, Leslie's comments concerning the su and rsh problems hit
the point for all non-Ultrix DECathena systems.
In a regular DECathena setup, users get added to /etc/passwd
during login by libathlogin library calls, they are removed
on logout, with all the effects Leslie mentioned. This normally causes
no problems in the one user / one workstation Athena approach.
Yes, the use of su or rsh to other machines might be 
a non-Athena way of thinking, but this is real life. There
are compute servers, there are dialup servers, and, yes, users
want to start an application with rsh from these servers without
the need to telnet in first.
There are certainly ways to circumvent this, and we use some of
them (e.g. populating a more-or-less complete passwd file from
moira thru a dcm update for some machines (dialup servers, compute
servers), using an athenaized rexecd and sending passwords in 
cleartext over the wire to get an entry to the passwd file and to
get your locker attached, ...)

Axel
-- 
Axel Clauberg,    Regional Computing Center, University of Cologne
                  Robert-Koch Str. 10, D-50931 Koeln, Germany
                  Phone:    +49 (221) 478-5589
                  FAX:      +49 (221) 478-5590
                  E-Mail:   clauberg@rrz.Uni-Koeln.DE



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~1995-05-30  4:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-20  4:00 DECAthena PAUL D. CHAPIN
1995-04-21  4:00 ` DECAthena Peter Mayne
1995-04-21  4:00   ` DECAthena PAUL D. CHAPIN
1995-04-22  4:00     ` DECAthena John Hascall
1995-04-23  4:00     ` DECAthena Peter Mayne
1995-04-21  4:00   ` DECAthena stev
1995-05-05  4:00   ` DECAthena J.Brainard
1995-05-16  4:00     ` bad.DECAthena (was Re: DECAthena) Leslie Giles
1995-05-16  4:00       ` John Hascall
1995-05-30  4:00         ` J.Brainard
1995-05-17  4:00       ` Paul J Lustgraaf
1995-05-17  4:00         ` John Hascall
1995-05-22  4:00         ` Leslie Giles
1995-05-22  4:00           ` John Hascall
1995-05-26  4:00             ` Leslie Giles
1995-05-26  4:00               ` John Hascall
1995-05-27  4:00               ` Steve Dyer
1995-05-30  4:00           ` Axel Clauberg
1995-05-18  4:00       ` Steve Dyer
1995-05-22  4:00         ` Leslie Giles
1995-05-22  4:00           ` John Hascall
1995-05-26  4:00           ` Steve Dyer

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