Project

General

Profile

Actions

Submit #3066

closed

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

Added by liweitianux about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
-
Start date:
09/27/2017
Due date:
% Done:

0%

Estimated time:

Description

  • 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

Actions

Also available in: Atom PDF