*BSD News Article 70944


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news.sprintlink.net!news-stk-200.sprintlink.net!news.sprintlink.net!news-dc-10.sprintlink.net!mercury.galstar.com!not-for-mail
From: jmccorm@galstar.com (Josh McCormick)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Mail only account?
Date: 13 Jun 1996 18:52:34 GMT
Organization: Galaxy Star - Northeastern Oklahoma Internet
Lines: 29
Message-ID: <4ppo1i$3tt@mercury.galstar.com>
References: <bbrewer-0506962337550001@news.succeed.net> <31BAFD43.279@usaor.net>
NNTP-Posting-Host: galaxy.galstar.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

: Bryan Brewer wrote:
: > 
: > using bsdi 2.1
: > 
: > Is there a way to set up pop account only? some clients would like extra
: > mailboxes, is it possible to adduser, but limit the account to mail
: > service only?

Yes. Here's a good way to make POP only email accounts:

1] Create a user directory called "mailonly". (Assuming your user directories
   are all under "/home", you would create a directory called 
   "/home/mailonly". Make it world readable, but with nothing in it.
2] When you create a user, make "/home/mailonly" the user's home directory.
   Make "/usr/bin/passwd" the shell.
3] Do *NOT* add "/usr/bin/passwd" to /etc/shells.

This will create a simple account that will receive email that users can 
obtain by your POP client. As well, if the user ever wants to change his 
password, all he has to do is to log into the POP only account, and he'll 
have the opportunity to change his password as needed.

-- 

=====================================================================
== Josh McCormick             Galaxy Star Systems                  ==
== jmccorm@galstar.com        Providing Quality Internet Access    ==
== Systems Administrator      WWW: http://www.galstar.com/~jmccorm ==
=====================================================================