๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71743

Re: Authorisation from Users on a Linux system

#71743
From: Jeffrey M. Vinocur
Date: Wed, 01 Jun 2005 10:33
49 lines
2924 bytes
In article <d7jmcs$qnt$1@galaxy.uci.agh.edu.pl>,
Szymon Sokรณยณ  <szymon@bastard.operator.from.hell.pl> wrote:
>themf@graffiti.net wrote:
>
>> OK, it doesn't work. I put in what you wrote and commented everything
>> else out . INNd doesn't say anything on restart, but I still get a
>> "281" no matter what.

Hrm.  That's what I get for writing a readers.conf off the top of
my head without testing.  Time to debug properly.  In your
syslog.conf, you currently have three lines like 

news.crit                                       /var/log/news/news.crit
news.err                                        /var/log/news/news.err
news.notice                                     /var/log/news/news.notice

Add a fourth line like this:

news.debug                                     /var/log/news/news.debug

and HUP your syslogd.  Then try connecting to the news server
again; you should get lots of detailed debugging information in
the news.debug log -- post that here.


>In:
>    auth: "ckpasswd -s"
>try using the full path, ie. 
>    auth: "/usr/local/news/bin/auth/passwd/ckpasswd -s"

This is not the problem; it would make authentication always
fail.


>So try something like:
>(echo "ClientAuthname: yourname"; echo "ClientPassword: yourpassword") \
>|/usr/local/news/bin/auth/passwd/ckpasswd -s
>and see whether it works.
>If it says "ckpasswd: invalid password for user yourname" then you should
>setuid ckpasswd to root (and make sure the filesystem on which it resides
>isn't mounted nosuid), then repeat the test. 

Neither of these is the problem; they would make authentication
always fail.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <d7k2ug$m26$1@puck.litech.org>
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.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!peer02.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <1117508605.008759.46360@o13g2000cwo.googlegroups.com> <1117585498.313603.45180@g14g2000cwa.googlegroups.com> <d7jmcs$qnt$1@galaxy.uci.agh.edu.pl>

Show Full Headers
Complete Article Headers
Message-ID: <d7k2ug$m26$1@puck.litech.org>
Subject: Re: Authorisation from Users on a Linux system
Date: Wed, 01 Jun 2005 10:33:52 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <1117508605.008759.46360@o13g2000cwo.googlegroups.com> <1117585498.313603.45180@g14g2000cwa.googlegroups.com> <d7jmcs$qnt$1@galaxy.uci.agh.edu.pl>
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.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!peer02.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 49
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1117622032 22598 66.218.0.75 (1 Jun 2005 10:33:52 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 1 Jun 2005 10:33:52 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)