[Pkg-shadow-devel] Bug#374525: Bug#366546: [Debian] login: please move nologin under /bin directory

Jari Aalto+mail.linux jari.aalto at cante.net
Wed Jul 5 05:52:28 UTC 2006


| 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




More information about the Pkg-shadow-devel mailing list