Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!nuug!ifi!barsoom!tih From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo) Newsgroups: comp.unix.i386 Subject: Re: SCO Unix inetd.conf trouble -- please help! Keywords: SCO,inetd,setuid Message-ID: <903@barsoom.nhh.no> Date: 3 Jun 90 15:15:14 GMT References: <900@barsoom.nhh.no> Distribution: comp Organization: Norwegian School of Economics Lines: 28 I wrote: >I've got a pretty annoying problem with SCO TCP/IP 1.1.0 under SCO >Unix V/386 3.2.0 here... There's a known bug in the TCP/IP support >stuff that makes a process started from an rc script run without >"login authentication". This means that the process won't be able to >run any setuid/setgid programs, because the system doesn't trust it or >something. The workaround is that you explicitly say "su root -c >command" to run the daemon in question. ...and I went on to describe how I couldn't make nntpd and telnetd/ftpd work at the same time, because the former wants inetd to be started with "su root -c inetd", while the latter two don't like that at all. I've figured out what to do; it turned out that the nntpd could run standalone, without invocation through inetd. This is OK, except that I've got another process running all the time, taking up memory. Not a big deal, though. Anyway, it doesn't solve the original problem. So, has anyone got any idea about what a process can do when it's been invoked from inetd under SCO Unix, and wants to run a setuid program? Or, better yet, does anyone have telnetd and/or ftpd sources that are compilable under SCO Unix? I've looked at the free BSD stuff, but it'll take some work to get those up and running, they're very BSD specific... -tih -- Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205 tih@barsoom.nhh.no, thelbekk@norunit.bitnet, edb_tom@debet.nhh.no