mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
remove modifying to /etc/pam.d directly (unrelased)
config-package-dev displace /etc/securetty remove trailing spaces https://forums.whonix.org/t/restrict-root-access/7658/31
This commit is contained in:
parent
cdb7c6f7eb
commit
4079632d1a
3
debian/security-misc.displace
vendored
3
debian/security-misc.displace
vendored
@ -2,5 +2,4 @@
|
|||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
/etc/login.defs.security-misc
|
/etc/login.defs.security-misc
|
||||||
/etc/pam.d/common-session-noninteractive.security-misc
|
/etc/securetty.security-misc
|
||||||
/etc/pam.d/common-session.security-misc
|
|
||||||
|
11
debian/security-misc.postinst
vendored
11
debian/security-misc.postinst
vendored
@ -29,16 +29,7 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ -n "$DEBIAN_FRONTEND" ] || DEBIAN_FRONTEND="noninteractive"
|
pam-auth-update --package
|
||||||
[ -n "$DEBIAN_PRIORITY" ] || DEBIAN_PRIORITY="critical"
|
|
||||||
[ -n "$DEBCONF_NOWARNINGS" ] || DEBCONF_NOWARNINGS="yes"
|
|
||||||
[ -n "$APT_LISTCHANGES_FRONTEND" ] || APT_LISTCHANGES_FRONTEND="text"
|
|
||||||
export POLICYRCD DEBIAN_FRONTEND DEBIAN_PRIORITY DEBCONF_NOWARNINGS APT_LISTCHANGES_FRONTEND
|
|
||||||
|
|
||||||
## Jul 07 20:35:39 host sudo[16090]: PAM unable to dlopen(pam_cgfs.so): /lib/security/pam_cgfs.so: cannot open shared object file: No such file or directory
|
|
||||||
## Jul 07 20:35:39 host sudo[16090]: PAM adding faulty module: pam_cgfs.so
|
|
||||||
## --package hangs in Qubes updater since it starts whiptail for interactive dpkg configuration dialog.
|
|
||||||
pam-auth-update --force
|
|
||||||
|
|
||||||
true "INFO: debhelper beginning here."
|
true "INFO: debhelper beginning here."
|
||||||
|
|
||||||
|
27
debian/security-misc.prerm
vendored
27
debian/security-misc.prerm
vendored
@ -15,30 +15,9 @@ true "
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
"
|
"
|
||||||
|
|
||||||
[ -n "$DEBIAN_FRONTEND" ] || DEBIAN_FRONTEND="noninteractive"
|
if [ "$1" = remove ]; then
|
||||||
[ -n "$DEBIAN_PRIORITY" ] || DEBIAN_PRIORITY="critical"
|
pam-auth-update --package --remove "$DPKG_MAINTSCRIPT_PACKAGE"
|
||||||
[ -n "$DEBCONF_NOWARNINGS" ] || DEBCONF_NOWARNINGS="yes"
|
fi
|
||||||
[ -n "$APT_LISTCHANGES_FRONTEND" ] || APT_LISTCHANGES_FRONTEND="text"
|
|
||||||
export POLICYRCD DEBIAN_FRONTEND DEBIAN_PRIORITY DEBCONF_NOWARNINGS APT_LISTCHANGES_FRONTEND
|
|
||||||
|
|
||||||
## pam-auth-update is usually used in postinst and prerm.
|
|
||||||
## Added extra space after /var to avoid lintian false positive warning.
|
|
||||||
#grep -r -l pam-auth-update /var /lib/dpkg/info
|
|
||||||
# /var /lib/dpkg/info/libpam-runtime.postinst
|
|
||||||
# /var /lib/dpkg/info/libpam-runtime.prerm
|
|
||||||
# /var /lib/dpkg/info/libpam-cap:amd64.postinst
|
|
||||||
# /var /lib/dpkg/info/libpam-cap:amd64.prerm
|
|
||||||
# /var /lib/dpkg/info/libpam-systemd:amd64.postinst
|
|
||||||
# /var /lib/dpkg/info/libpam-systemd:amd64.prerm
|
|
||||||
# /var /lib/dpkg/info/libpam-cgfs.postinst
|
|
||||||
# /var /lib/dpkg/info/libpam-cgfs.prerm
|
|
||||||
# /var /lib/dpkg/info/libpam-gnome-keyring:amd64.postinst
|
|
||||||
# /var /lib/dpkg/info/libpam-gnome-keyring:amd64.prerm
|
|
||||||
|
|
||||||
## Jul 07 20:35:39 host sudo[16090]: PAM unable to dlopen(pam_cgfs.so): /lib/security/pam_cgfs.so: cannot open shared object file: No such file or directory
|
|
||||||
## Jul 07 20:35:39 host sudo[16090]: PAM adding faulty module: pam_cgfs.so
|
|
||||||
## --package hangs in Qubes updater since it starts whiptail for interactive dpkg configuration dialog.
|
|
||||||
pam-auth-update --force
|
|
||||||
|
|
||||||
true "INFO: debhelper beginning here."
|
true "INFO: debhelper beginning here."
|
||||||
|
|
||||||
|
5
debian/security-misc.undisplace
vendored
Normal file
5
debian/security-misc.undisplace
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||||
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
|
/etc/pam.d/common-session-noninteractive.security-misc
|
||||||
|
/etc/pam.d/common-session.security-misc
|
Loading…
Reference in New Issue
Block a user