🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2963

Tin and setuid (was xxxxxxx)

#2963
From: Wim van Dorst
Date: Tue, 05 Jan 1993 15:28
36 lines
2516 bytes
Kent C. Brodie (kcb@post.its.mcw.edu) wrote:
: I am using tin (PL7), and have a weird problem.  Anyone entering "vi"
: (for posting an article, for instance) goes into READ MODE.

In article <1993Jan4.201633.11910@anl433.uucp> Iain.Lea@anl433.uucp writes:
>Sounds like you are running tin setuid and it is somehow not doing
>a setuid to your login user before starting vi.

Hey, now you're starting on setuid: I have something too. In my crontab
is have lines doing:
<in the night>  /usr/lib/uucp/uucico -Snewsfeedsystem
<much later>    /usr/lib/news/unbatch
<much later>    /usr/lib/news/tin -u

/usr/lib/news/tin -u is setuid news (setgid news too). Cron is started
from root in /etc/rc (of course), and works fine for all other setuid
programs, such as uucico and unbatch.

Now when doing this tin -u command it gives several message about
setuid(real) en setgid(news) not being permitted. Of course I should 
have read the manual properly before mentioning this point, or looked
in the source (that is why I was given it, I guess), but since setuid
is brought up, I thought I might as well come forward. Since my 
newsfeed is only small, and my machine fast enough, I don't think it
is a big problem, but mentioning might help solving.

I do not have the readonly problem mentioned by Kent Brodie. I do have
tin 1.1pl6 and tin 1.1pl8, both of which are great programs (Big 
Bravo, Iain), and both show the setuid failure mentioned.

Met vriendelijke groeten, Wim `Blue Baron' van Dorst
-- 
---------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319
(-: baron@clifton.hobby.nl  tgcpwd@urc.tue.nl  WvD@Akzo.400net.nl :-)
---------------------------------------------------------------------
Technical Details
Message-ID: <6820@tuegate.tue.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!rw7.urc.tue.nl!tgcpwd
References: <1hqbfgINNf7m@post.its.mcw.edu> <1993Jan4.201633.11910@anl433.uucp>

Show Full Headers
Complete Article Headers
Message-ID: <6820@tuegate.tue.nl>
Subject: Tin and setuid (was xxxxxxx)
Date: Tue, 05 Jan 1993 15:28:34 +0000
From: tgcpwd@rw7.urc.tue.nl (Wim van Dorst)
References: <1hqbfgINNf7m@post.its.mcw.edu> <1993Jan4.201633.11910@anl433.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!rw7.urc.tue.nl!tgcpwd
Newsgroups: news.software.readers
Sender: root@tuegate.tue.nl
Reply-To: tgcpwd@urc.tue.nl
Organization: Eindhoven University of Technology, The Netherlands
Lines: 36