From owner-freebsd-questions Wed Apr 2 05:44:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA00211 for questions-outgoing; Wed, 2 Apr 1997 05:44:37 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA00192 for ; Wed, 2 Apr 1997 05:44:34 -0800 (PST) Received: by mail.EUnet.hu, id PAA19700; Wed, 2 Apr 1997 15:44:30 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id LAA00532; Wed, 2 Apr 1997 11:22:17 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199704020922.LAA00532@CoDe.hu> Subject: Re: Users with no shells To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Wed, 2 Apr 1997 11:22:17 +0200 (MET DST) Cc: leec@adam.adonai.net In-Reply-To: from Lee Crites at "Apr 2, 97 00:43:09 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] 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 got several messages telling me about /sbin/nologin. It was a kind of > interesting script -- curt and to the point, but without expandibility. > However, this is more along the line of what I was thinking of... SNIP > I'm not sure if a c program would be better or not. I suppose you could > use syslog in a program, which might be better than mailing a message. > But then again, mailing me a message would make sure I saw it sooner. I > guess it's a tossup. (is there a way to do syslog from the shell?) man 1 logger Gabor