From owner-freebsd-current@FreeBSD.ORG Thu Feb 19 03:01:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17A1D16A4D3 for ; Thu, 19 Feb 2004 03:01:40 -0800 (PST) Received: from tx0.oucs.ox.ac.uk (tx0.oucs.ox.ac.uk [129.67.1.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C0643D1D for ; Thu, 19 Feb 2004 03:01:39 -0800 (PST) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan0.oucs.ox.ac.uk ([129.67.1.162] helo=localhost) by tx0.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1Atlw2-0000tg-F6 for freebsd-current@freebsd.org; Thu, 19 Feb 2004 11:01:38 +0000 Received: from rx0.oucs.ox.ac.uk ([129.67.1.161]) by localhost (scan0.oucs.ox.ac.uk [129.67.1.162]) (amavisd-new, port 25) with ESMTP id 03097-10 for ; Thu, 19 Feb 2004 11:01:38 +0000 (GMT) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx0.oucs.ox.ac.uk with smtp (Exim 4.24) id 1Atlw2-0000tT-1a for freebsd-current@freebsd.org; Thu, 19 Feb 2004 11:01:38 +0000 Received: (qmail 11236 invoked by uid 0); 19 Feb 2004 11:01:38 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.16 (sweep: 2.14/3.71. spamassassin: 2.53. Clear:. Processed in 1.445226 secs); 19 Feb 2004 11:01:38 -0000 X-Qmail-Scanner-Mail-From: colin.percival@wadham.ox.ac.uk via gateway X-Qmail-Scanner: 1.16 (Clear:. Processed in 1.445226 secs) Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 19 Feb 2004 11:01:36 -0000 Message-Id: <6.0.1.1.1.20040219104449.037d8d20@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Thu, 19 Feb 2004 11:01:34 +0000 To: freebsd-current@freebsd.org From: Colin Percival Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: /sbin/nologin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 11:01:40 -0000 In November, a minimalist /sbin/nologin was written in C in order to allow it to be statically linked; the question of doing anything more (eg, logging) was set aside for the duration of the 5.2 code freeze. The present code also has a bug^W feature, in that it outputs the string-terminating zero byte. I would like to add logging and fix this bug, but I know some people have strongly held opinions about the correct behaviour of "hello world"; if these changes would upset anyone, please let me know. (And email me directly -- the list doesn't need another bikeshed!) Colin Percival