🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73851

Re: should permissions be news and not root

#73851
From: John F. Morse
Date: Mon, 17 Jul 2006 16:25
72 lines
3795 bytes
rob wrote:

>thanks for your post John
>
>ok What I trying to do is my user name rob is being used with suck
>here ;
>
>Delivered-To: rob@xstation.abcd.net
>Received: by xstation.abcd.net (Postfix, from userid 1000)
>	id D1B69391666; Mon, 17 Jul 2006 01:48:32 +0100 (BST)
>From: root@xstation.abcd.net (Cron Daemon)
>To: rob@xstation.abcd.net
>Subject: Cron <rob@xstation> suck nntp.aioe.org -A -bp -hl localhost -c
>-i 200 -M -n -Q
>X-Cron-Env: <SHELL=/bin/sh>
>X-Cron-Env: <HOME=/home/rob>
>X-Cron-Env: <PATH=/usr/bin:/bin>
>X-Cron-Env: <LOGNAME=rob>
>Message-Id: <20060717004832.D1B69391666@xstation.abcd.netDate: Mon, 17
>Jul 2006 01:48:32 +0100 (BST)
>
>Invalid default read for new active group, must be <= 0
>Attempting to connect to nntp.bignews.org
>Using Port 119
>Official host name: nntp.bignews.org
>Address: 221.274.45.71
>
>
>and the end of this message looks like this
>
>/etc/suck/sucknewsrc: Permission denied
>Moving newsrc to backup: Permission denied
>
>there are two points here
>a) i want to chage it so that user name rob is not used but at the same
>time i do not want to log out of user name rob
>
>b) permission denied --is this an issue? suck has all news permissions.
>
>
>robert
>


I'm no help with Suck or SuckMT. I couldn't get either one to work at my 
installation. SuckMT had an error, and Suck is far too complex for me to 
figure out, using the weak documentation that is available.

So I am using RumorMill on a Mac to pull news for the time being. It 
streams with INN fine, but of course this method uses twice as much 
electricity and puts out twice the heat. ;-)

You might look at the permissions for sucknewsrc. Not just the owner and 
group, but the rwx permissions, and be sure whoever (news?) is trying to 
read or write is either the owner, or is in the group, or else has the 
proper world (others) permissions (probably not a secure idea).

I don't think news can normally write to /etc. Not even in the case of 
the only place where I see news as a group in /etc/news:

-rw-r-----  1 root news   597 2006-03-15 10:39 passwd.nntp

Here news can only read, like all of the other /etc/news files, but this is more restrictive so the world cannot read the passwords.

I don't know what you have in /etc/suck so I cannot comment.

Wish I knew more about Suck and/or SuckMT so I could help further.

Good luck,

-- 
John
Technical Details
Message-ID: <pSOug.141340$mF2.99220@bgtnsc04-news.ops.worldnet.att.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <1153141206.278388.106730@m79g2000cwm.googlegroups.com> <aaNug.407247$Fs1.32041@bgtnsc05-news.ops.worldnet.att.net> <1153149980.985093.3220@75g2000cwc.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <pSOug.141340$mF2.99220@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: should permissions be news and not root
Date: Mon, 17 Jul 2006 16:25:57 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <1153141206.278388.106730@m79g2000cwm.googlegroups.com> <aaNug.407247$Fs1.32041@bgtnsc05-news.ops.worldnet.att.net> <1153149980.985093.3220@75g2000cwc.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20060423)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <1153149980.985093.3220@75g2000cwc.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 72
NNTP-Posting-Host: 11c7ae74000f25c4619846132d3a5f94
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1153153557
NNTP-Posting-Date: Mon, 17 Jul 2006 16:25:57 GMT