access with authentication

Bill Tangren bjt at aa.usno.navy.mil
Fri Apr 1 21:36:51 UTC 2005


Bill Tangren wrote:
> This is the current readers.conf:
> 
> auth inside {
>          hosts: "localhost, 10.1.0.0/16"
>          auth: "ckpasswd -s"
> }
> 
> access inside {
>          newsgroups: *,!junk,!control,!control.*
> }
> 

If I change the auth block to:

auth inside {
           auth: "ckpasswd -s"
}

or

auth inside {
         auth: "ckpasswd -f /news/db/newsusers"
}

the result is the same.

ls -l newsusers returns:

-rw-r--r--  1 root root 18 Mar 16 14:26 /news/db/newsusers

If I chown this file to news:news, I get the same result.



If I change the auth block to:

auth inside {
           auth: "ckpasswd -u my -p mypassword"
}

I no longer get an error (on the client side) when trying to retrieve 
the newsgroup list, but I don't get the list either. In news.notice, I 
get all the same messages, EXCEPT that this line:

Apr  1 16:13:19 summer2 innd: SERVER cant select Permission denied

is sometimes missing.

Bill Tangren



More information about the inn-workers mailing list