🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53901

Re: ckpasswd -s (WTF)

#53901
From: Graeme Mathieson
Date: Tue, 21 Aug 2001 14:49
26 lines
2065 bytes
dennis@loom.net.au (Dennis) writes:

> can someone please explain to me why this readers.conf entry doesn't work.
> 
>         auth "outside" {
>                 hosts: "*"
>                 auth: "ckpasswd -s"
>                 default: "<denied>"
>         }
> 
> I'm using the correct username and password but syslog keeps logging:
> 
> myhost connect
> myhost auth_err ckpasswd: user j.smith password doesn't match.
> myhost bad_auth
> myhost times user 0.010 system 0.010 elapsed 0.073

I suspect that you are using an OS which stores the passwords in the
shadow password file as an MD5 hash or something similar.  If so, and
your OS supports PAM, have a look at

http://www.mathie.cx/~graeme/software/pamckpasswd.tar.gz

-- 
graeme+sig@mathie.cx                          http://www.mathie.cx/~graeme/
Technical Details
Message-ID: <87u1z179jl.fsf@homer.mathie.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!news.mathie.cx!not-for-mail
References: <5deb043d.0108210622.79c3f681@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <87u1z179jl.fsf@homer.mathie.cx>
Subject: Re: ckpasswd -s (WTF)
Date: Tue, 21 Aug 2001 14:49:18 +0000
From: Graeme Mathieson <graeme+usenet@mathie.cx>
References: <5deb043d.0108210622.79c3f681@posting.google.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.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!news.mathie.cx!not-for-mail
Newsgroups: news.software.nntp
Organization: <Insert something funny here about organisation or lack thereof>
Lines: 25
Sender: graeme@homer.mathie.cx
NNTP-Posting-Host: homer.mathie.cx
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: homer.mathie.cx 998405358 28044 62.189.57.194 (21 Aug 2001 14:49:18 GMT)
X-Complaints-To: usenet@mathie.cx
NNTP-Posting-Date: Tue, 21 Aug 2001 14:49:18 +0000 (UTC)
X-Secret: Znqr lbh ybbx!
Mail-Copies-To: never
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)