From owner-freebsd-arch@FreeBSD.ORG Wed Jul 5 05:53:06 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 046FF16A4DA; Wed, 5 Jul 2006 05:53:06 +0000 (UTC) (envelope-from jari.aalto@cante.net) Received: from fep01-app.kolumbus.fi (fep01-0.kolumbus.fi [193.229.0.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFBDC43D45; Wed, 5 Jul 2006 05:53:04 +0000 (GMT) (envelope-from jari.aalto@cante.net) Received: from bongo.cante.net ([81.197.0.130]) by fep01-app.kolumbus.fi with ESMTP id <20060705055300.NIRI11715.fep01-app.kolumbus.fi@bongo.cante.net>; Wed, 5 Jul 2006 08:53:00 +0300 Received: from fw.cante.net ([192.168.1.3] helo=cante) by bongo.cante.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.62) (envelope-from ) id 1Fy0JJ-0006Jr-Ra; Wed, 05 Jul 2006 08:52:29 +0300 Received: from jaalto by cante with local (Exim 4.62) (envelope-from ) id 1Fy0JI-00072N-Hc; Wed, 05 Jul 2006 08:52:28 +0300 To: Ceri Davies Mail-Copies-To: poster References: <20060509153807.16297.97467.reportbug@cante> <20060620050937.GB18750@djedefre.onera> From: jari.aalto@cante.net (Jari Aalto+mail.linux) Message-Id: Date: Wed, 05 Jul 2006 08:52:28 +0300 Cc: "exim4-daemon-heavy: Use /bin/nologin instead of /bin/false in /etc/passwd" <366546-maintonly@bugs.debian.org>, "pidentd: \[security\] use /bin/nologin instead of /bin/false in /etc/passwd" <366545-maintonly@bugs.debian.org>, "login: please move nologin under /bin directory" <374525@bugs.debian.org>, mstone@debian.org, freebsd-arch@freebsd.org, "openssh-server: \[security\] use /bin/nologin instead of /bin/false" <366541-maintonly@bugs.debian.org>, anibal@debian.org Subject: Re: Bug#366546: [Debian] login: please move nologin under /bin directory X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 05:53:06 -0000 | On Tue, Jul 04, 2006 at 09:38:18PM +0300, Jari Aalto+mail.linux wrote: | | > However nologin is a system utility it would be better kept | > directly under root directory, if /sbin is not ideal, then | > it should go to /bin -- to same place as "login". | | That's up to you; we don't consider it a system utility, that's all. | | Our hier(7) is pretty clear, and we try to stick to it: | | /bin/ user utilities fundamental to both single-user and | multi-user environments FHS 2.3 reads /bin contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted (e.g. in single user mode). ============================================================ | /sbin/ system programs and administration utilities fundamental | to both single-user and multi-user environments Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or ====================================================... repairing the system | Since it isn't either of the above, it goes under /usr (in FreeBSD; you | are, of course, free to disagree). Thank you for explaining. As Debian follows the FHS, the correct place here seems to be /bin according to FHS. (as where "login" is also located) Jari