From owner-freebsd-security Fri Feb 25 7:59:36 2000 Delivered-To: freebsd-security@freebsd.org Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by hub.freebsd.org (Postfix) with ESMTP id 739BA37C31F for ; Fri, 25 Feb 2000 07:59:22 -0800 (PST) (envelope-from fpscha@ns1.via-net-works.net.ar) Received: (from fpscha@localhost) by ns1.via-net-works.net.ar (8.9.3/8.9.3) id MAA24685; Fri, 25 Feb 2000 12:59:27 -0300 (GMT) From: Fernando Schapachnik Message-Id: <200002251559.MAA24685@ns1.via-net-works.net.ar> Subject: PAM and quotas To: freebsd-security@freebsd.org Date: Fri, 25 Feb 2000 12:59:26 -0300 (GMT) Reply-To: Fernando Schapachnik X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello: Sorry if this is not the correct forum to post this, but I think it's on-charter. I want my POP3 and FTP users to authenticate via an SQL database (Postgress). Reasons: -I want to add/delete users in a transactional way. -Centralized management. -Protection in case of malconfiguration from users forwarding ports via ssh. My first move was to try to make my pop3d and ftpd (wu-ftpd, but I can change it if needed) to use a dbm. The idea was to recreate the dbm from scratch on each change of the SQL. I can handle the overhead. But a problem arise: If the user is not on /etc/passwd he can't have quotas (or am I wrong here?) and I need them. So I thought I could use PAM instead by fetching from somewhere (or writing) a PAM-SQL module. But the problem remains: is there a way I can make quotas and PAM work together? Any help/pointer will be very apretiatted? Thanks and regards. Fernando P. Schapachnik Administración de la red VIA NET.WORKS ARGENTINA S.A. fernando@via-net-works.net.ar (54-11) 4323-3333 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message