Re: Setting up - Users with mail access but without telnet access

David Miller <[email protected]>
Newsgroups gmane.os.freebsd.devel.database
Message-ID <[email protected]>
On Thu, 24 Feb 2005, Joseph E. Maxwell wrote:

> I am running a mail server (qmail) on a machine (freebsd 4.9). How can I 
> set up users on it with email functioning but without telnet access ?

This really isn't a database question, but I'll take a stab at it anyway.

The quick answer is to just add them as unix users but turn telnet off in
inetd.conf. That's almost certainly the default anyway, nobody uses telnet
to access a system anymore.  It's also kind of a wisecrack, because you're
probably asking how to deny them shell access.

If you just give them a shell of /bin/false they won't be able to login
with ssh, rlogin, telnet, or a serial terminal.

There are other more complex answers too, like setting up qmail to use
LDAP or query some sort of database to see if the recipient is a
legitimate user.  This is not a trivial thing to setup, and will be client
specific (qmail/POP/IMAP all have to match up).

Hope this helps,

--- David


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.