Project

General

Profile

Submit #3066

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

Added by liweitianux 9 months ago. Updated 9 months 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

History

#1 Updated by swildner 9 months ago

  • Status changed from New to Closed

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

Also available in: Atom PDF