[101300] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: email only accounts in Linux 5.0

daemon@ATHENA.MIT.EDU (Jan Carlson)
Wed Nov 25 14:24:33 1998

Date: Wed, 25 Nov 1998 14:13:31 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Rafi wrote:

> Hello All,
>
>         We are running RedHat Linux 5.0 (hurricane) with sendmail
> 8.8.7/8.8.4, IMAP server v4.41, Apache 1.1.3.  We are hooked directly
> on a 64k vsat link.  We are able to access the web and other internet
> services.  We would like to give email only accounts (without shell or
> telnet access) with which POP clients can be used to pick up the users'
> mails from the POP server.  We are running proxy for local network.
> Clients are mostly windows 95/98.

To prevent selected users from logging in via telnet or any other method,
just set them up with /bin/false as their shell, instead of, say, /bin/bash.

First you have to tell the system it is ok for a user to have /bin/false
as a shell.   Just append /bin/false to the end of /etc/shells.

To make /bin/false the default shell for all new users, edit
/etc/default/useradd - the format is obvious.

I have 5.2 here, but 5.0 is probably the same or similar.

Note 1: Linux does not support more than 65,535 users, yet.

NOTE 2:  You should consider upgrading to 5.2 and then putting
in the upgrades for that, because there are many security
fixes.   At least upgrade all the 5.0 rpms that have
upgrades available.  Unfortunately, there are lots of trouble
makers out there that scan for machines that lack the security updates.

--

Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post