Re: Noffle with tin

Jim Hague <[email protected]> Sat, 03 Jul 2004 14:16:18 +0100 (BST)
Newsgroups gmane.network.noffle.user
Organization The Bear Cave
Message-ID <[email protected]>
On 02-Jul-2004 Balas Mark wrote:
> There is a problem here:
> 
> trychydts:~# telnet localhost nntp
> Trying 127.0.0.1...
> Connected to trychydts.
> Escape character is '^]'.
> 200 NNTP server NOFFLE 1.0.1
> list active uk.comp.os.*
> 503 Cannot init server
> 215 Groups
> Connection closed by foreign host.

OK. I think I know what's up. It's a file permissions problem. Run as a
server, Noffle can't open its database file.

Assuming your inetd line looks like this:

nntp stream tcp nowait news /usr/sbin/tcpd /usr/bin/noffle -r

Noffle is run as user 'news'. /var/spool/noffle should be owned by news, and
the noffle executable suid news. Try doing the following:

chown news:news /usr/bin/noffle
chmod 06755 /usr/bin/noffle
chown -R news:news /var/spool/noffle

and see if it works.

-- 
Jim Hague - [email protected]          Never trust a computer you can't lift.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com