Install nologin /usr/sbin without patching makefiles

This commit is contained in:
Balint Reczey
2021-11-14 13:17:32 +01:00
parent 1ea5452692
commit e225d71e7f
3 changed files with 1 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
debian/login.defs etc
usr/share/locale/*/LC_MESSAGES/shadow.mo
usr/sbin/nologin
sbin/nologin usr/sbin
usr/bin/faillog
usr/bin/lastlog
usr/bin/newgrp

View File

@@ -1,18 +0,0 @@
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,6 @@
# $prefix/bin and $prefix/sbin, no install-data hacks...)
bin_PROGRAMS = groups login
-sbin_PROGRAMS = nologin
ubin_PROGRAMS = faillog lastlog chage chfn chsh expiry gpasswd newgrp passwd
if ENABLE_SUBIDS
ubin_PROGRAMS += newgidmap newuidmap
@@ -45,6 +44,7 @@
grpunconv \
logoutd \
newusers \
+ nologin \
pwck \
pwconv \
pwunconv \

View File

@@ -11,6 +11,5 @@
506_relaxed_usernames
542_useradd-O_option
463_login_delay_obeys_to_PAM
508_nologin_in_usr_sbin
505_useradd_recommend_adduser
501_commonio_group_shadow