🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71875

Re: security issue

#71875
From: anandmithil_shah
Date: Fri, 17 Jun 2005 07:07
78 lines
4979 bytes
yes sir it is similar to this, as i have one more auth and access
defined for "srinidhi", one another user,but it is same for "srinidhi"
user

i have generated /etc/pamd.d/nnrpd file having the content
----------------------------------------------------------------------------------
nnrpd   auth            requisite       pam_nologin.so
nnrpd   auth            required        pam_listfile.so \
        onerr=succeed item=user sense=deny file=/etc/news/readers.deny
nnrpd   auth            required        pam_unix.so

nnrpd   account         required        pam_unix.so
the above file is not default genarated
------------------------------------------------------------------------------------
following log will be generated while i tyr to login :

Jun 17 15:57:13 anand nnrpd[2111]: anand.lan.deeproot.co.in (127.0.0.1)
connect
Jun 17 15:57:13 anand nnrpd[2111]: Reading access from
/usr/local/inn/etc/readers.conf
Jun 17 15:57:13 anand nnrpd[2111]: anand.lan.deeproot.co.in
no_success_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
starting authenticator ckpasswd
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_hook
program caught signal 15
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
authenticator failed
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
starting authenticator ckpasswd
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_hook
program caught signal 15
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
authenticator failed
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in
no_success_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in times user
0.008 system 0.008 idle 0.010 elapsed 6.961
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in time 6962
idle 5785(4) nntpwrite 793(9)
Jun 17 15:57:13 anand nnrpd[2111]: anand.lan.deeproot.co.in (127.0.0.1)
connect
Jun 17 15:57:13 anand nnrpd[2111]: Reading access from
/usr/local/inn/etc/readers.conf
Jun 17 15:57:13 anand nnrpd[2111]: anand.lan.deeproot.co.in
no_success_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
starting authenticator ckpasswd
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_hook
program caught signal 15
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
authenticator failed
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
starting authenticator ckpasswd
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_hook
program caught signal 15
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in auth
authenticator failed
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in
no_success_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in bad_auth
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in times user
0.008 system 0.008 idle 0.010 elapsed 6.961
Jun 17 15:57:20 anand nnrpd[2111]: anand.lan.deeproot.co.in time 6962
idle 5785(4) nntpwrite 793(9)
-----------------------------------------------------------------------------------------------
i had also use the utility given in man page of chkpasswd from command
prompt:
(echo 'ClientAuthname: anand' ; echo 'ClientPassword: anand') \
               | ckpasswd -f /etc/passwd
but it will not return with 0 status and give me error
ckpasswd: invalid password for user anand
--------------------------------------------------------------------------------------------------
i don't have anyidea abt pamckpasswd whether i have o installed in
manually or ...?
bye
Technical Details
Message-ID: <1118988596.032442.259820@z14g2000cwz.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!news.glorb.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
References: <1118928267.963853.173520@g44g2000cwa.googlegroups.com> <87slziba3d.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1118988596.032442.259820@z14g2000cwz.googlegroups.com>
Subject: Re: security issue
Date: Fri, 17 Jun 2005 07:07:10 +0000
From: anandmithil_shah@yahoo.com
References: <1118928267.963853.173520@g44g2000cwa.googlegroups.com> <87slziba3d.fsf@windlord.stanford.edu>
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!news.glorb.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 78
NNTP-Posting-Host: 61.95.198.26
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1118992036 9436 127.0.0.1 (17 Jun 2005 07:07:16
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 17 Jun 2005 07:07:16 +0000 (UTC)
In-Reply-To: <87slziba3d.fsf@windlord.stanford.edu>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=61.95.198.26;
 posting-account=rQO8JwwAAADaaS6oD9z1nALKgK4ZSna5