🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Dracula Fri, 30 Jun 2000 00:00
username/password in INN ?
#47214
Author: Dracula
Date: Fri, 30 Jun 2000 00:00
26 lines
1310 bytes
Hi,

I'am using slackware 7.0 with inn 2.2.1 for a group of users they login with
thier username and password definded in nnrp.access.

They also have a mail account, with another username/password, /etc/passwd
and /etc/shadow.

How can i get inn to read his username and password form the /etc/passwd and
/etc/shadow file. ???

Or maby smothing else like PAM ???

--
- Dracula
----
Mail: Dracula@bloodhound.dhs.org
Http: http://www.bloodhound.dhs.org
ICQ#: 34646911
----
 12:00pm  up 28 days, 22:49,  4 users,  load average: 0.45, 0.16, 0.11




Re: username/password in INN ?
#47196
Author: Dracula
Date: Fri, 30 Jun 2000 00:00
33 lines
1840 bytes
"Paul Tomblin" <ptomblin@xcski.com> wrote in message
> In a previous article, "Dracula" <Dracula@bloodhound.dhs.org> said:
> >Is the next thing mayby possible:
> >
> >If a user changes his password with passwd
> >that the password for nnrp.access also changes!
> >
>
> I guess I wasn't clear.  The bin/filter/nnrpd_auth.pl takes the place of
> nnrp.access - it calls perl functions like getpwnam and crypt in order to
> compare the supplied userid and password to values in /etc/passwd and
> /etc/shadow.  So yes, if they change their password with passwd, they need
> to use the new password for news access as well.
>

Oki, but how to use it ??
is there any documentation about it ??


--
- Dracula
----
Mail: Dracula@bloodhound.dhs.org
Http: http://www.bloodhound.dhs.org
ICQ#: 34646911
----
 10:00pm  up  2:53,  0 users,  load average: 0.14, 0.04, 0.03
                  ^^^^^^-->> My dad hit the power switch :-((



Re: username/password in INN ?
#47197
Author: Dracula
Date: Fri, 30 Jun 2000 00:00
22 lines
1330 bytes
Is the next thing mayby possible:

If a user changes his password with passwd
that the password for nnrp.access also changes!

Or are there existings script (webbased) to change your password for
mail (/etc/passwd /etc/shadow) en that the password for news (nnrp.access)
also changes automaticlely ??

--
- The Postmaster
----
Mail: Postmaster@zonegge.dhs.org
Http: http://www.zoneggeposse.com
ICQ#: 34646911
----
  4:00pm  up 29 days,  2:49,  3 users,  load average: 0.31, 0.12, 0.09




Re: username/password in INN ?
#47198
Author: Dracula
Date: Fri, 30 Jun 2000 00:00
28 lines
1457 bytes
"Paul Tomblin" <ptomblin@xcski.com> wrote in message > In a previous
article, > >How can i get inn to read his username and password form the
/etc/passwd and
> >/etc/shadow file. ???
> >
> >Or maby smothing else like PAM ???
>
> Enable perl.  Write some perl code to check the userid and password in
> bin/filter/nnrpd_auth.pl

I can't write perl.
Isn't there already something i can user.
How do internet providers do it ???

--
- Dracula
----
Mail: Dracula@bloodhound.dhs.org
Http: http://www.bloodhound.dhs.org
ICQ#: 34646911
----
  4:00pm  up 29 days,  2:49,  3 users,  load average: 0.31, 0.12, 0.09




Re: username/password in INN ?
#47200
Author: Paul Tomblin
Date: Fri, 30 Jun 2000 00:00
20 lines
1610 bytes
In a previous article, "Dracula" <Dracula@bloodhound.dhs.org> said:
>Is the next thing mayby possible:
>
>If a user changes his password with passwd
>that the password for nnrp.access also changes!
>

I guess I wasn't clear.  The bin/filter/nnrpd_auth.pl takes the place of
nnrp.access - it calls perl functions like getpwnam and crypt in order to
compare the supplied userid and password to values in /etc/passwd and
/etc/shadow.  So yes, if they change their password with passwd, they need
to use the new password for news access as well.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Company slogan:  The Mandatory Beatings Will Continue Until Morale
Improves.

Re: username/password in INN ?
#47204
Author: Paul Tomblin
Date: Fri, 30 Jun 2000 00:00
16 lines
1257 bytes
In a previous article, "Dracula" <Dracula@bloodhound.dhs.org> said:
>How can i get inn to read his username and password form the /etc/passwd and
>/etc/shadow file. ???
>
>Or maby smothing else like PAM ???

Enable perl.  Write some perl code to check the userid and password in
bin/filter/nnrpd_auth.pl



-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"The Computer made me do it."

Re: username/password in INN ?
#47209
Author: Paul Tomblin
Date: Fri, 30 Jun 2000 00:00
24 lines
1857 bytes
In a previous article, "Dracula" <Dracula@bloodhound.dhs.org> said:
>"Paul Tomblin" <ptomblin@xcski.com> wrote in message > In a previous
>> Enable perl.  Write some perl code to check the userid and password in
>> bin/filter/nnrpd_auth.pl
>
>I can't write perl.
>Isn't there already something i can user.
>How do internet providers do it ???

They write perl.  It's only about 10 lines of code.
I'd give you an example, but mine authenticates against a different
database.  Basically, you take the nnrpd_auth.pl that's provided, and
instead of authenticating against the file as they do, you call getpwnam
on the user name to get his system password, crypt on the password, and
compare to the one that getpwnam returned.

There might be a PAM module, but I have no idea how to use it.

-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Company slogan:  The Mandatory Beatings Will Continue Until Morale
Improves.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads