diff options
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r-- | meta/recipes-extended/shadow/files/pam.d/login | 4 | ||||
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-extended/shadow/files/pam.d/login b/meta/recipes-extended/shadow/files/pam.d/login index b340058539..d39e09b1ea 100644 --- a/meta/recipes-extended/shadow/files/pam.d/login +++ b/meta/recipes-extended/shadow/files/pam.d/login | |||
@@ -57,10 +57,6 @@ auth optional pam_group.so | |||
57 | # (Replaces the use of /etc/limits in old login) | 57 | # (Replaces the use of /etc/limits in old login) |
58 | session required pam_limits.so | 58 | session required pam_limits.so |
59 | 59 | ||
60 | # Prints the last login info upon succesful login | ||
61 | # (Replaces the `LASTLOG_ENAB' option from login.defs) | ||
62 | session optional pam_lastlog.so | ||
63 | |||
64 | # Prints the motd upon succesful login | 60 | # Prints the motd upon succesful login |
65 | # (Replaces the `MOTD_FILE' option in login.defs) | 61 | # (Replaces the `MOTD_FILE' option in login.defs) |
66 | session optional pam_motd.so | 62 | session optional pam_motd.so |
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index cf05a3af93..83e1a84769 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -65,14 +65,11 @@ PAM_PLUGINS = "libpam-runtime \ | |||
65 | pam-plugin-env \ | 65 | pam-plugin-env \ |
66 | pam-plugin-group \ | 66 | pam-plugin-group \ |
67 | pam-plugin-limits \ | 67 | pam-plugin-limits \ |
68 | pam-plugin-lastlog \ | ||
69 | pam-plugin-motd \ | 68 | pam-plugin-motd \ |
70 | pam-plugin-mail \ | 69 | pam-plugin-mail \ |
71 | pam-plugin-shells \ | 70 | pam-plugin-shells \ |
72 | pam-plugin-rootok" | 71 | pam-plugin-rootok" |
73 | 72 | ||
74 | PAM_PLUGINS:remove:libc-musl = "pam-plugin-lastlog" | ||
75 | |||
76 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ | 73 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ |
77 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" | 74 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" |
78 | PACKAGECONFIG:class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" | 75 | PACKAGECONFIG:class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" |