🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Daisy Sun, 09 Mar 2003 11:51
INN permissions - read only announce group?
#64325
Author: Daisy
Date: Sun, 09 Mar 2003 11:51
16 lines
1652 bytes
Is there any way in my readers.conf file, to set a local "announce" group to
be read only for all users but one, yet still giving post access to the
other groups?

Reading the manual, it seems only one "auth" section (the last one) will be
used, and it doesn't seem to offer this functionality. I can't imagine there
isn't a way, I was told INN was *the* news server for linux :-\

-- 
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow


Re: INN permissions - read only announce group?
#64326
Author: Jeffrey M. Vinocur
Date: Sun, 09 Mar 2003 15:43
21 lines
1871 bytes
In article <b4f9uj.1hk.1@news.dannytuppeny.com>,
Daisy <daisy@nospam.oops> wrote:
>Is there any way in my readers.conf file, to set a local "announce" group to
>be read only for all users but one, yet still giving post access to the
>other groups?
>
>Reading the manual, it seems only one "auth" section (the last one) will be
>used,

Yes.  But the auth group is supposed to be used to assign an
identity to each incoming connection, and then you have multiple
access groups that might match the identity.

If you only use the default: parameter, then yes, everyone
matching that auth group gets the same identity.  That's the
trivial case.  In order for INN to distinguish your "special"
user, you have to tell it how -- either a different incoming IP
address, or authentication, or a resolver like identd...how else
do you want it to know which person is to be permitted to post?

Re: INN permissions - read only announce group?
#64328
Author: Daisy
Date: Sun, 09 Mar 2003 16:27
34 lines
2525 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:b4fnfg$lfs$1@puck.litech.org...
> >Is there any way in my readers.conf file, to set a local "announce" group
to
> >be read only for all users but one, yet still giving post access to the
> >other groups?
> >
> >Reading the manual, it seems only one "auth" section (the last one) will
be
> >used,
>
> Yes.  But the auth group is supposed to be used to assign an
> identity to each incoming connection, and then you have multiple
> access groups that might match the identity.
>
> If you only use the default: parameter, then yes, everyone
> matching that auth group gets the same identity.  That's the
> trivial case.  In order for INN to distinguish your "special"
> user, you have to tell it how -- either a different incoming IP
> address, or authentication, or a resolver like identd...how else
> do you want it to know which person is to be permitted to post?

The bit I don't understand, is how to have a set of users with post access
to most groups, but only read access to another. I know how to have
different group access for each user, but it's the combination of read/post
access for one (set of) user(s) for different groups...?
-- 
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow


Re: INN permissions - read only announce group?
#64329
Author: Jeffrey M. Vinocur
Date: Sun, 09 Mar 2003 16:37
43 lines
1971 bytes
In article <b4fq41.1t4.1@news.dannytuppeny.com>,
Daisy <daisy@nospam.oops> wrote:
>
>The bit I don't understand, is how to have a set of users with post access
>to most groups, but only read access to another. I know how to have
>different group access for each user, but it's the combination of read/post
>access for one (set of) user(s) for different groups...?

You need an auth group that assigns useful identities.


auth "foreign" {
    hosts: *
    auth: "ckpasswd -f /usr/local/news/db/newsusers"
    default: "<FAIL>"
}

access "nonlitech" {
    users: "*"
    newsgroups: "*,!litech.*,!private.*"
}

access "litech" {
    users: "*@litech.org"
    newsgroups: "*,!private.*"
}

access "me" {
    users: "jeff@litech.org"
    newsgroups: "*"
}

access "fail" {
    users: "<FAIL>,<FAIL>@litech.org"
    read: "!*,litech.test"
    post: "!*"
}


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN permissions - read only announce group?
#64330
Author: Daisy
Date: Sun, 09 Mar 2003 16:54
25 lines
2052 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:b4fqjf$o0c$1@puck.litech.org...
> You need an auth group that assigns useful identities.
<snip>
>     read: "!*,litech.test"
>     post: "!*"

Does this mean I can replace the normal "newsgroups" line I already have
with two seperate lines, for read and post, or was there something relevant
in the rest of your post?

Currently I've got access to the group, they don't. If I change the curreny
newsgroups line to "post" and then copy it for "read" and add my announce
group, will that work correctly? (I'll give it a go later anyway, but
knowing if it's correct might save me some time ;-)

Cheers,
-- 
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow


Re: INN permissions - read only announce group?
#64332
Author: Jeffrey M. Vinocur
Date: Mon, 10 Mar 2003 00:44
35 lines
2069 bytes
In article <b4frlo.b8.1@news.dannytuppeny.com>,
Daisy <daisy@nospam.oops> wrote:
>"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
>news:b4fqjf$o0c$1@puck.litech.org...
>> You need an auth group that assigns useful identities.
><snip>
>>     read: "!*,litech.test"
>>     post: "!*"
>
>Does this mean I can replace the normal "newsgroups" line I already have
>with two seperate lines, for read and post,

Yes...are you reading the documentation?


>or was there something relevant
>in the rest of your post?

It was a bit difficult making out what exactly your problem was,
but it sounded like you were having trouble making multiple
access groups for a single auth group, so that's what I was
trying to explain.


>Currently I've got access to the group, they don't. If I change the curreny
>newsgroups line to "post" and then copy it for "read" and add my announce
>group, will that work correctly?

Yes.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN permissions - read only announce group?
#64335
Author: sellers
Date: Mon, 10 Mar 2003 05:17
28 lines
2172 bytes
Daisy,

After reading this thread, it sounds to me that you want a moderated group.
Just create a local group and make one person the approver for posts to the
group.  Its a lot easier than reworking the readers file.  Also FWIW, if your
special user changes IP addresses, you have to fix the file again.  A moderated
group doesn't suffer from this problem (it has it's own set....)  Good luck.

Bill

Daisy wrote:

> Is there any way in my readers.conf file, to set a local "announce" group to
> be read only for all users but one, yet still giving post access to the
> other groups?
>
> Reading the manual, it seems only one "auth" section (the last one) will be
> used, and it doesn't seem to offer this functionality. I can't imagine there
> isn't a way, I was told INN was *the* news server for linux :-\
>
> --
> Daisy The Cow
> ICQ: 179071510
> MSN: msn@dannytuppeny.com
> Yahoo: mr_daisy_the_cow

Re: INN permissions - read only announce group?
#64334
Author: Daisy
Date: Mon, 10 Mar 2003 07:17
22 lines
1889 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:b4gn4k$7l8$1@puck.litech.org...
> >>     read: "!*,litech.test"
> >>     post: "!*"
> >
> >Does this mean I can replace the normal "newsgroups" line I already have
> >with two seperate lines, for read and post,
>
> Yes...are you reading the documentation?

Bingo, it worked, thanks :-))

I scrolled through the docs, but they're long, and I'm new to this linux
thing... docs that actually work... You'll have to forgive me ;O)
-- 
Daisy The Cow
ICQ: 179071510
MSN: msn@dannytuppeny.com
Yahoo: mr_daisy_the_cow


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