From owner-freebsd-questions Tue Apr 1 21:15:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA06299 for questions-outgoing; Tue, 1 Apr 1997 21:15:09 -0800 (PST) Received: from seagull.rtd.com (seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA06291 for ; Tue, 1 Apr 1997 21:15:04 -0800 (PST) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id WAA00118; Tue, 1 Apr 1997 22:14:26 -0700 (MST) From: Don Yuniskis Message-Id: <199704020514.WAA00118@seagull.rtd.com> Subject: Re: Users with no shells To: leec@adam.adonai.net (Lee Crites) Date: Tue, 1 Apr 1997 22:14:20 -0700 (MST) Cc: adam@cyberhall.com, questions@FreeBSD.ORG In-Reply-To: from "Lee Crites" at Apr 1, 97 10:49:11 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > =>I have perused many a FAQ without finding much on this topic-- What > =>is the best way to create an account with no interactive shell, but > =>with the ability to retrieve mail via POP? I created an account with > =>the shell given as /nonexistent (the "no" option in adduser), and > =>that seems to work fine except that adduser complains about "illegal > =>shell" during the check process. Are there any problems with doing > =>this this way? Is there a better way to accomplish this? > > I use /bin/date for the ones I don't want to have shell access. They > log in, use their login id and password, then get the current time and > date and are logged off. > > I had thought of writing a quick program which would print out a message > of some sort (perhaps from a file), but haven't done it yet. I am close > enough to talking myself into doing it that if there was some real > interest, I could be talked into it. How about 'cat filename'?? :> --don