[DragonFlyBSD - Submit #3066] (New) [PATCH] nologin(8): Sync with FreeBSD; Symlink as /usr/sbin/nologin

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Sep 27 03:48:36 PDT 2017

Issue #3066 has been reported by liweitianux.

Submit #3066: [PATCH] nologin(8): Sync with FreeBSD; Symlink as /usr/sbin/nologin

* Author: liweitianux
* Status: New
* Priority: Normal
* Assignee: 
* Category: Userland
* Target version: 
* Sync "nologin.c" with FreeBSD.  Login attempts are logged into syslog.

* Create symlink "/usr/sbin/nologin" to "/sbin/nologin".  FreeBSD
  (and Linux) installs "nologin" at  "/usr/sbin/nologin", and the users
  created by DPorts/packages also use "/usr/sbin/nologin" (see

* Statically link "nologin" as done by FreeBSD.

Please see my attached patch; see also: https://github.com/liweitianux/dragonflybsd/commit/f21b56f6f253d666d0f28605efa133b91394d925

As for statically linking "nologin", I'm not sure whether it is a better idea.  Please take a look.  Thanks.


0001-nologin-8-Sync-with-FreeBSD-Symlink-usr-sbin-nologin.patch (2.54 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Submit mailing list