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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Oct 5 11:42:27 PDT 2017


Issue #3066 has been updated by swildner.

Status changed from New to Closed

I've pushed and MFC'd it, thanks!


----------------------------------------
Submit #3066: [PATCH] nologin(8): Sync with FreeBSD; Symlink as /usr/sbin/nologin
http://bugs.dragonflybsd.org/issues/3066#change-13249

* Author: liweitianux
* Status: Closed
* 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
  "/usr/dports/UIDs").

* 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.


Cheers,
Aly

---Files--------------------------------
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