🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by shaggie76 Mon, 14 Mar 2005 16:01
INN 2.4.1 on OpenBSD 3.6: inndstart setgroups problem
#70900
Author: shaggie76
Date: Mon, 14 Mar 2005 16:01
29 lines
2201 bytes
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*
>
> </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!

peace
Re: INN 2.4.1 on OpenBSD 3.6: inndstart setgroups problem
#70903
Author: 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
Re: INN 2.4.1 on OpenBSD 3.6: inndstart setgroups problem
#70904
Author: shaggie76
Date: Mon, 14 Mar 2005 17:17
11 lines
1566 bytes
shaggie76@hotmail.com wrote:
> I'm trying to get INN 2.4.1 running on OpenBSD 3.6.

For posterity, I have isolated the problem:

/dev/sd0i on /home type ffs (local, nodev, nosuid)

The drive I was running inn off-of was mounted nosuid.

peace
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