• Re: INN2: authentication

    From Ivo Gandolfo@21:1/5 to Kyonshi on Thu Feb 1 17:59:29 2024
    On 01/02/2024 16:47, Kyonshi wrote:


    I am wondering if I even can properly call the ckpasswd program with
    this path. (the path is where the program is located on this system)


    The correct way (this is a working example, adapt to your system):

    cat /etc/news/readers.conf

    # Setup auth for user's
    auth user {
    hosts: *
    auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f /etc/news/userdb"
    default: <FAIL>
    }

    # If the user if autenticated use this access
    access all {
    users: "user,*@your.host.here.com, !localhost, !<FAIL>*"
    newsgroups: *
    access: "RPN"
    perlfilter: true
    }

    # If user don't have do login, see (and post) only on local group
    access fail {
    users: "<FAIL>*"
    newsgroups: !*,local.*
    access: "RP"
    perlfilter: true
    }



    Sincerely

    --
    Ivo Gandolfo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)