Date: Wed, 05 Jul 2006 08:52:28 +0300 From: jari.aalto@cante.net (Jari Aalto+mail.linux) To: Ceri Davies <ceri@FreeBSD.org> 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 Message-ID: <E1Fy0JI-00072N-Hc@cante> References: <20060509153807.16297.97467.reportbug@cante> <E1FsDxt-0001DV-Nv@cante> <E1FsQpg-0002x9-8H@cante> <20060620050937.GB18750@djedefre.onera> <E1Fxpms-0003TT-T4@cante>
index | next in thread | previous in thread | raw e-mail
| 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
<http://www.pathname.com/fhs/pub/fhs-2.3.html#BINESSENTIALUSERCOMMANDBINARIES>
/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
<http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES>
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Fy0JI-00072N-Hc>
