mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-02 17:21:12 +01:00
Merge pull request #1717 from crawford/shadow
sys-apps/shadow: split shadow.conf
This commit is contained in:
commit
5a8fc5764b
@ -5,6 +5,3 @@ L /etc/securetty - - - - ../usr/share/shadow/securetty
|
||||
|
||||
d /etc/default - - - - -
|
||||
L /etc/default/useradd - - - - ../../usr/share/shadow/useradd
|
||||
|
||||
f /var/log/lastlog - - - - -
|
||||
f /var/log/faillog - - - - -
|
||||
@ -0,0 +1,2 @@
|
||||
f /var/log/lastlog - - - - -
|
||||
f /var/log/faillog - - - - -
|
||||
@ -78,7 +78,11 @@ src_install() {
|
||||
|
||||
# Remove files from /etc, they will be symlinks to /usr instead.
|
||||
rm -f "${D}"/etc/{limits,login.access,login.defs,securetty,default/useradd}
|
||||
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/shadow.conf
|
||||
|
||||
# CoreOS: break shadow.conf into two files so that we only have to apply
|
||||
# etc-shadow.conf in the initrd.
|
||||
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/etc-shadow.conf
|
||||
systemd_dotmpfilesd "${FILESDIR}"/tmpfiles.d/var-shadow.conf
|
||||
|
||||
insinto /usr/share/shadow
|
||||
# Using a securetty with devfs device names added
|
||||
Loading…
x
Reference in New Issue
Block a user