home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!caen!destroyer!mudos!mju
- From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
- Subject: Re: SUMMARY: Re: Questions about MAS90 from SOA
- Message-ID: <BtoEtB.JLL@mudos.ann-arbor.mi.us>
- Date: Fri, 28 Aug 1992 04:22:20 GMT
- References: <Bt7stA.1o3@mudos.ann-arbor.mi.us> <BtKDCp.4tC@mudos.ann-arbor.mi.us> <1992Aug27.120658.6327@crd.ge.com>
- Organization: The Programmer's Pit Stop, Ann Arbor MI
- Lines: 44
-
- In article <1992Aug27.120658.6327@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
- > I included this in my response to you, perhaps you missed it:
-
- No, I didn't miss it. And I appreciate the suggestion. However, I
- evaluated it and found it unsuitable for what I'm trying to do.
-
- >Have people login as themselves then do a "su - mas90" to access the
- >database. That way only the mas90 account has to be able to get at the
- >data, and you can use the mas90 program itself as the login shell, or
- >use a secure login shell which can start mas90. That seems to eliminate
- >most of the problems you mentioned.
-
- It may eliminate the problems I mentioned, but it creates a host of
- new ones. First and foremost is the password for the "mas90" account.
- If I set things up so that there is a password for mas90, then the
- users now have to remember THREE passwords: the password for their own
- account, the mas90 password, and the password for their MAS90 user-id.
- I have enough trouble getting people to remember the first password
- and the last without writing them down, and you want me to add a third
- password? But if I don't have a password, I open up a big security
- hole. Yes, it's about the same as allowing people to run MAS90
- directly as themselves, except that now they have access to the MAS90
- program files and such without a password, instead of just the data
- files. What if they convince MAS90 to let them spawn a shell, or edit
- a file?
-
- >You could also use a command sutuid root which does a seteuid() and then
- >starts mas90, I bet that will work, too.
-
- I tried that, as well as making bbx2 SUID mas90. Unfortunately, MAS90
- was not written to be SUID, so it does not handle things like real
- vs. effective user-id when checking permissions.
-
- The basic problem seems to be that MAS90 was coded without regard to
- use in a networked environment, or use on a machine that is also used
- for other applications and by non-MAS90 users. MAS90 works without a
- hitch, I'm sure, if that's the only thing you're running on the
- machine and everyone has a hardwired serial connection with a Wyse-60
- emulator or something.
-
- --
- Marc Unangst | Real men don't make backups. Real men never
- mju@mudos.ann-arbor.mi.us | accidentally delete files that they're going
- | to need later.
-