Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: john@iastate.edu (John Hascall)
Subject: Re: bad.DECAthena (was Re: DECAthena)
Date: 1995/05/26	[thread overview]
Message-ID: <3q4qls$ivn@news.iastate.edu> (raw)
In-Reply-To: 3q4mqs$3v7@nntpd.lkg.dec.com

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>



  reply	other threads:[~1995-05-26  4:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
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