🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Neil Harkins Thu, 02 Mar 1995 21:17
INN1.4: inndstart not switching uids
#3408
Author: Neil Harkins
Date: Thu, 02 Mar 1995 21:17
25 lines
1774 bytes
Argh. 
My rc.local starts rc.news, which starts inndstart which (supposedly)
starts innd as root but switches its process uid to news. Right?
Well, not for me:

mciunix.root # ps -ef | grep inn
    root   223   214  0 15:30:50 ?      0:00 /usr/lib/newsbin/inn/overchan
    root   214     1  0 15:30:46 ?      0:00 /usr/lib/newsbin/inn/innd -p4 -i0
    root  1341   549  0 16:12:42 C2     0:00 grep inn

Any ideas?

Thanks in advance,

   -Neil Harkins

-----------------------------------------------------------------------------
Neil Harkins                           |                             MCIU/IMS
Microcomputer Software Technician      |              1605-B West Main Street
Montgomery County Intermediate Unit    |            Norristown, PA 19440, USA
Instructional Materials Services       |                    610-539-8550-x237
nharkins@mciunix.mciu.k12.pa.us        |                    Fax: 610-539-9185
-----------------------------------------------------------------------------

Re: INN1.4: inndstart not switching uids
#3410
Author: Jim Jagielski
Date: Fri, 03 Mar 1995 00:28
16 lines
1327 bytes
st92bpfv@dunx1.ocs.drexel.edu (Neil Harkins) writes:

>Argh. 
>My rc.local starts rc.news, which starts inndstart which (supposedly)
>starts innd as root but switches its process uid to news. Right?
>Well, not for me:

Stupid question time...

Do you have a 'news' user/account in /etc/passwd ???
-- 
Jim Jagielski  << jim@jaguNET.com >>   |   "Put the moon _back_ demon waif!"
  **  jaguNET Access Services  **      |              - The Tick
++       Email: info@jaguNET.com      +++        Voice:  410-931-3157       ++
++       http://www.jaguNET.com       +++      Data: 931-7060 ("guest")     ++
Re: INN1.4: inndstart not switching uids
#3413
Author: Neil Harkins
Date: Fri, 03 Mar 1995 15:18
22 lines
1803 bytes
Jim Jagielski (jim@jaguNET.com) wrote:
: st92bpfv@dunx1.ocs.drexel.edu (Neil Harkins) writes:
: >Argh. 
: >My rc.local starts rc.news, which starts inndstart which (supposedly)
: >starts innd as root but switches its process uid to news. Right?
: >Well, not for me:
: Stupid question time...
: Do you have a 'news' user/account in /etc/passwd ???

Yes.

-Neil

-----------------------------------------------------------------------------
Neil Harkins                           |                             MCIU/IMS
Microcomputer Software Technician      |              1605-B West Main Street
Montgomery County Intermediate Unit    |            Norristown, PA 19440, USA
Instructional Materials Services       |                    610-539-8550-x237
nharkins@mciunix.mciu.k12.pa.us        |                    Fax: 610-539-9185
-----------------------------------------------------------------------------

Re: INN1.4: inndstart not switching uids
#3439
Author: Jerry Aguirre
Date: Wed, 08 Mar 1995 18:36
14 lines
1314 bytes
In article <3j5ckt$b7e@noc2.drexel.edu> st92bpfv@dunx1.ocs.drexel.edu (Neil Harkins) writes:
>
>Argh. 
>My rc.local starts rc.news, which starts inndstart which (supposedly)
>starts innd as root but switches its process uid to news. Right?
>Well, not for me:

Inndstart does a "stat" of INNDDIR.  Then it does setgid and setuid
to match the group and owner of that directory before exec'ing innd.
The obvious conclusion is that the directory does not have the correct
ownership.

Have you run "inncheck" to verify permissions, syntax, and such?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads