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

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


commit 15f9f82496bc69d1aef1ed9b49ed03b3bd57511f
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/15f9f82496bc69d1aef1ed9b49ed03b3bd57511f


-- 
DragonFly BSD source repository



More information about the Commits mailing list