git: DragonFly_RELEASE_5_0 nologin(8): Sync with FreeBSD; Symlink as /usr/sbin/nologin

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Oct 5 11:42:04 PDT 2017


commit d74197be0a971dba8a05550ec53aff90b2031240
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Sep 27 18:24:05 2017 +0800

    nologin(8): Sync with FreeBSD; Symlink as /usr/sbin/nologin
    
    * 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
      "/usr/dports/UIDs").
    * Statically link "nologin" as done by FreeBSD.

Summary of changes:
 sbin/nologin/Makefile  | 13 +++++++++---
 sbin/nologin/nologin.5 | 18 +++++++++++++---
 sbin/nologin/nologin.8 |  3 +--
 sbin/nologin/nologin.c | 56 ++++++++++++++++++++++++++++----------------------
 4 files changed, 58 insertions(+), 32 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d74197be0a971dba8a05550ec53aff90b2031240


-- 
DragonFly BSD source repository


More information about the Commits mailing list