🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by AY Tue, 04 Oct 2005 07:30
username and password in INN
#72377
Author: AY
Date: Tue, 04 Oct 2005 07:30
15 lines
1630 bytes
Hi,

still have no idea how to set an username/password authentication in innd

i tried



-- 

                ~ ªѲ¼»ù®榳¤ɦ³¶^, ¶R½æ­n¯à©Ӿ᭷ÀI ~

     ~ Samba, more than a low cost File and Printer server ~
            
                     -- Let us OpenSource --
Re: username and password in INN
#72375
Author: ruud
Date: Tue, 04 Oct 2005 07:25
37 lines
1710 bytes
AY wrote:

> however, it 's doesn't worl, could anyome please give me a hints?
> thanks thanks thanks!!

EXAMPLE:

In Readers.conf

auth "INTERNET" {
 hosts: "*"
 auth: "ckpasswd -f /etc/news/innusers"
 default: <FAIL>
}
access "ok" {
 users: "*"
 newsgroups: "*"
 access: RPA
}
access "bad" {
 users: "<FAIL>"
 newsgroups: "nieuws.*"
 access: RPA
}

Make users and passwords :


Use the tool from Apache: "htpasswd".
Make a empty file called innusers.

htpasswd /etc/news/innusers username <enter>
Now fill in the password twice and you are done.

-- 
Gr. Ruud
news://news.nl-netwerken.com
Re: username and password in INN
#72376
Author: AY
Date: Tue, 04 Oct 2005 07:32
44 lines
2309 bytes
i added this into my readers.conf

auth "passwords" {
        hosts:  "*"
        key:    "pwd"
        auth: "ckpasswd -d /etc/news/newsusers"
        auth: "ckpasswd -s"
}

access "passwords" {
        key:    "pwd"
        newsgroups: "official.test"
        access: RPA
}


however, it 's doesn't worl, could anyome please give me a hints?
thanks thanks thanks!!


"AY" <admin@twonil.com.hk> ¼¶¼g©ó¶l¥ó·s»D:43430286@usenet.hk...
> Hi,
>
> still have no idea how to set an username/password authentication in innd
>
> i tried
>
>
>
> -- 
>
>                ~ ªѲ¼»ù®榳¤ɦ³¶^, ¶R½æ­n¯à©Ӿ᭷ÀI ~
>
>     ~ Samba, more than a low cost File and Printer server ~
>            -- Let us OpenSource -- 


-- 

                ~ ªѲ¼»ù®榳¤ɦ³¶^, ¶R½æ­n¯à©Ӿ᭷ÀI ~

     ~ Samba, more than a low cost File and Printer server ~
            
                     -- Let us OpenSource --
Re: username and password in INN
#72378
Author: AY
Date: Tue, 04 Oct 2005 07:57
54 lines
2536 bytes
thanks

is that mean everyone need to login in all newsgroup?
actually i just want to set only 1 or 2 groups need authentication

thanks!!!

"ruud" <geen@mail.invalid> ???????:dhtbbt$1id$1@box.nl-netwerken.com...
> AY wrote:
>
>> however, it 's doesn't worl, could anyome please give me a hints?
>> thanks thanks thanks!!
>
> EXAMPLE:
>
> In Readers.conf
>
> auth "INTERNET" {
> hosts: "*"
> auth: "ckpasswd -f /etc/news/innusers"
> default: <FAIL>
> }
> access "ok" {
> users: "*"
> newsgroups: "*"
> access: RPA
> }
> access "bad" {
> users: "<FAIL>"
> newsgroups: "nieuws.*"
> access: RPA
> }
>
> Make users and passwords :
>
>
> Use the tool from Apache: "htpasswd".
> Make a empty file called innusers.
>
> htpasswd /etc/news/innusers username <enter>
> Now fill in the password twice and you are done.
>
> -- 
> Gr. Ruud
> news://news.nl-netwerken.com 


-- 

                ~ ªѲ¼»ù®榳¤ɦ³¶^, ¶R½æ­n¯à©Ӿ᭷ÀI ~

     ~ Samba, more than a low cost File and Printer server ~
            
                     -- Let us OpenSource --
Re: username and password in INN
#72379
Author: ruud
Date: Tue, 04 Oct 2005 08:32
23 lines
1612 bytes
AY wrote:

> thanks
> 
> is that mean everyone need to login in all newsgroup?
> actually i just want to set only 1 or 2 groups need authentication


Look at this part:

>> access "bad" {
>> users: "<FAIL>"
>> newsgroups: "nieuws.*"
>> access: RPA
>> }

Without authentication, you can only read/post the nieuws.* groups.
With authentication, you can read/post to all groups.

But you want it the other way around, don't know if that is possible.
-- 
Gr. Ruud
news://news.nl-netwerken.com
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