*BSD News Article 53315


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!Germany.EU.net!news.dfn.de!server2.rz.uni-leipzig.de!news1.urz.tu-dresden.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.mail.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Using POP without allowing login's
Date: 22 Oct 1995 01:33:41 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 23
Message-ID: <46c3h5$pf8@uriah.heep.sax.de>
References: <46ashl$t16@shiva.usa.net>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Xref: euryale.cc.adfa.oz.au comp.mail.misc:23022 comp.unix.bsd.freebsd.misc:7654

Chris Erskine <cigcos.cerskine@eds.com> wrote:
>I have a box running Free BSD on it.  Does anyone know how to set the
>system up to support mail users only without allowing them to login.
>
>The problems which I see are that:
>  1) Sendmail needs the user ID in the passwd file to know that the
>user is a registered user.

No.  You could enter all recipients into /etc/aliases as well, without
providing valid login IDs for them.

>  2) Qpopper requires the user to have a valid user id and password to
>connect to the POP server.

Yes.  But Qpopper doesn't require them to have a valid shell.  So
putting /usr/bin/false as the login "shell" should effectively prevent
them from logging in (and even from ftp'ing, unless you're also
entering /usr/bin/false into /etc/shells).
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)