🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70903

Re: INN 2.4.1 on OpenBSD 3.6: inndstart setgroups problem

#70903
From: Maurice Janssen
Date: Mon, 14 Mar 2005 17:16
40 lines
2636 bytes
shaggie76@hotmail.com wrote:
>I'm trying to get INN 2.4.1 running on OpenBSD 3.6. This transcript
>says it all:
>
>> </home/news/bin> id
>> uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty),
>>     5(operator), 20(staff), 31(guest)
>>
>> </home/news/bin> ls -l inndstart
>> -r-sr-x---  1 root  news  107995 Mar 11 17:40 inndstart*

Same here:
$ ls -l inndstart
-r-sr-x---  1 root  news  110791 Jan  1 20:43 inndstart

This is also on an OpenBSD 3.6 system.  I can't remember doing anything
special to make it run.  Just compiled INN and created a user and group
'news'.

>> </home/news/bin> su - news -c /home/news/bin/rc.news
>> Starting innd.
>> inndstart: can't setgroups (is inndstart setuid root?):
>>     Operation not permitted
>> inndstart: can't seteuid to 0:
>>     Operation not permitted
>> Scheduled start of /home/news/bin/innwatch.
>
>I've read the INN FAQ and double checked its recommendatations under
>"3.1. INN won't start after a new installation." I've even tried
>various combinations of setuid -- (ie: setuid but not setgid). And, of
>course, I even tried running it as root. I suspect, however, that there
>is some additional setuid restriction on OpenBSD that is causing
>problems.
>
>Any advice or suggestions would be appreciated!

Did you do anything special to harden it?  Some other special measures?

-- 
Maurice
Technical Details
Message-ID: <d14gsp$4l4$1@linux.z74.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!newsfeed.bit.nl!newsfeed.bit.nl!newsgate.newsserver.nl!feeder.z74.net!reader.z74.net!news.z74.net!not-for-mail
References: <1110813595.624589.281000@f14g2000cwb.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <d14gsp$4l4$1@linux.z74.net>
Subject: Re: INN 2.4.1 on OpenBSD 3.6: inndstart setgroups problem
Date: Mon, 14 Mar 2005 17:16:09 +0000
From: Maurice Janssen <mauricej@xs4all.nl>
References: <1110813595.624589.281000@f14g2000cwb.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!newsfeed.bit.nl!newsfeed.bit.nl!newsgate.newsserver.nl!feeder.z74.net!reader.z74.net!news.z74.net!not-for-mail
Newsgroups: news.software.nntp
Organization: z74
Lines: 40
NNTP-Posting-Host: localhost.localdomain
X-Trace: linux.z74.net 1110820569 4772 ::1 (14 Mar 2005 17:16:09 GMT)
X-Complaints-To: news@z74.net
NNTP-Posting-Date: Mon, 14 Mar 2005 17:16:09 +0000 (UTC)
X-GPG-KeyID: 1024D/B76C96D0
X-GPG-Fingerprint: AE3C 392A AC95 74EB 61A4 4764 DE3E 6BAD B76C 96D0
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.4.29 (i686))