home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!tulane!mgse!marks
- From: marks@mgse.UUCP (Mark Seiffert)
- Newsgroups: comp.unix.sysv386
- Subject: Re: SUMMARY: Re: Questions about MAS90 from SOA
- Message-ID: <1498@mgse.UUCP>
- Date: 3 Sep 92 04:14:27 GMT
- References: <Bt7stA.1o3@mudos.ann-arbor.mi.us> <BtKDCp.4tC@mudos.ann-arbor.mi.us> <1992Aug27.120658.6327@crd.ge.com>
- Organization: mgse
- Lines: 46
-
- In article <1992Aug27.120658.6327@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
- |In article <BtKDCp.4tC@mudos.ann-arbor.mi.us>, mju@mudos.ann-arbor.mi.us (Marc Unangst) writes:
- |
- || think I've finally gotten it to the point where it's usable. There is
- || one problem that I'm still having, though -- because the bbx2
- || interpreter does not work properly if run SUID or SGID, I have had to
- || make the database directories and files writable by the people who are
- || going to be running MAS90. This is a large security hole, IMHO --
- || this means that the people using MAS90 can remove the databases or
- || modify them without going through MAS90, either with a binary-file
- || editor or by directly typing commands into BBx. It also means that
- || instead of just having to secure a "mas90" account or the root
- || account, I must make sure that all of the MAS90 users' accounts are
- || secure.
- |
- | I included this in my response to you, perhaps you missed it:
- |
- |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.
- |
- |You could also use a command sutuid root which does a seteuid() and then
- |starts mas90, I bet that will work, too.
-
- The problem is not with MAS90, (or Open Systems), but with the Business
- Basic interpreter, or maybe it is Unix. The program bbx2 SHOULD NOT be
- suid to root, but bbx2run is. bbx2run sets umask as high as possible,
- and then sets the user id the the real user id. All of the MAS90 systems
- I deal with (with a developer) are low security and we chmod the data files
- to 666, the programs to 644 and typically exec /usr/bin/mas90.
-
- Mark Seiffert
-
- |
- |--
- |bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
- | I admit that when I was in school I wrote COBOL. But I didn't compile.
-
-
- --
- Mark Seiffert, Metairie, LA.
- uucp: rex.cs.tulane.edu!mgse!marks or rex!mgse!marks
- bitnet: marks%mgse@REX.CS.TULANE.EDU
- internet: marks%mgse@rex.cs.tulane.edu or marks@mgse.UUCP
-