Thread View: news.software.nntp
2 messages
2 total messages
Started by Jeremy
Tue, 15 Oct 2002 22:34
inn auth: how to?~
Author: Jeremy
Date: Tue, 15 Oct 2002 22:34
Date: Tue, 15 Oct 2002 22:34
33 lines
1581 bytes
1581 bytes
Hi, i would like to setup password protected groups on INN 2.3.3 that checks
against the system user database in freebsd 4.6.2 (i.e. /etc/master.passwd)
this is my current readers.conf
auth "jeremy" {
auth: "/bin/ckpasswd -f /etc/master.passwd"
default: "<all>"
}
auth "localhost" {
hosts: "localhost, 127.0.0.1, stdin, *"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*, !some.secret.groups
access: RPA
}
access "all" {
users: "<jeremy>"
newsgroups: "*"
access: RPA
}
what is wrong with that? i cannot access the protected groups and the system
simply treats me as an ordinary user, after i logged in.
any help would be appreciated
Re: inn auth: how to?~
Author: Helmut Kreft
Date: Wed, 16 Oct 2002 02:12
Date: Wed, 16 Oct 2002 02:12
31 lines
2211 bytes
2211 bytes
On Wed, 16 Oct 2002 06:34:59 +0800, Jeremy wrote:
> Hi, i would like to setup password protected groups on INN 2.3.3 that checks
> against the system user database in freebsd 4.6.2 (i.e. /etc/master.passwd)
>
> this is my current readers.conf
>
> auth "jeremy" {
> auth: "/bin/ckpasswd -f /etc/master.passwd"
> default: "<all>"
> }
1.) NNTP transmits passwords as plain text, readable by anyone able to
operate a sniffer. Reconsider.
2.) You can't read /etc/master.passwd as an ordinary user for security
resons.
3.) chkpasswd can use getpwnam, but will receive '*' for the hash if the
program is not running as root - again for security reasons.
You could change the perms of ckpasswd to SUID 0. This will very likely
make it work. It is your responsibility to figure out if this is an
acceptable risk.
Setting up a password database exclusively for the use by ckpasswd
as outlined in the manpage is definetely the better choice.
Helmut
--
Conspiracy is the normal continuation of normal politics by normal means.
Carl Oglesby
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