🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71742

Re: Authorisation from Users on a Linux system

#71742
From: Szymon Sokół
Date: Wed, 01 Jun 2005 06:59
33 lines
3036 bytes
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.
In:
    auth: "ckpasswd -s"
try using the full path, ie. 
    auth: "/usr/local/news/bin/auth/passwd/ckpasswd -s"

or whatever the actual location of your ckpasswd is. Also, check if ckpasswd
by itself is working correctly - to quote the manual:

	Most systems require special privileges to call getspnam(3), so in
	order to use this option you may need to make ckpasswd setgid to
	some group (like group "shadow") or even setuid root.  ckpasswd has
	not been specifically audited for such uses!  It is, however, a
	very small program that you should be able to check by hand for
	security.

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. 

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
Technical Details
Message-ID: <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!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.silweb.pl!agh.edu.pl!news.agh.edu.pl!not-for-mail
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <d7d9u7$od3$1@puck.litech.org> <1117472357.196116.275410@g49g2000cwa.googlegroups.com> <d7g5ua$n2b$1@puck.litech.org> <1117508605.008759.46360@o13g2000cwo.googlegroups.com> <1117585498.313603.45180@g14g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <d7jmcs$qnt$1@galaxy.uci.agh.edu.pl>
Subject: Re: Authorisation from Users on a Linux system
Date: Wed, 01 Jun 2005 06:59:40 +0000
From: Szymon Sokół <szymon@bastard.operator.from.hell.pl>
References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <d7d9u7$od3$1@puck.litech.org> <1117472357.196116.275410@g49g2000cwa.googlegroups.com> <d7g5ua$n2b$1@puck.litech.org> <1117508605.008759.46360@o13g2000cwo.googlegroups.com> <1117585498.313603.45180@g14g2000cwa.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.silweb.pl!agh.edu.pl!news.agh.edu.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Mining & Metallurgy
Lines: 33
Sender: Szymon Sokol <szymon@galaxy.uci.agh.edu.pl>
NNTP-Posting-Host: galaxy.uci.agh.edu.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: galaxy.uci.agh.edu.pl 1117609180 27389 149.156.96.9 (1 Jun 2005
X-Complaints-To: usenet@uci.agh.edu.pl
NNTP-Posting-Date: Wed, 1 Jun 2005 06:59:40 +0000 (UTC)
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (SunOS/5.8 (sun4u))