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.71.254.148

H O M E


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

# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.

if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.99.7.1-3
then
if ! [ -f /etc/security/opasswd ]; then
umask 066
touch /etc/security/opasswd
umask 022
fi
fi

if dpkg --compare-versions "$2" lt 0.99.9.0-1 && ! [ -f /etc/environment ]
then
touch /etc/environment
fi

# Add PATH to /etc/environment if it's not present there or in
# /etc/security/pam_env.conf
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 1.1.3-7ubuntu3; then
if ! grep -qs ^PATH /etc/security/pam_env.conf; then
if ! grep -qs ^PATH= /etc/environment; then
echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"' >> /etc/environment
elif ! grep -qs "^PATH=.*/usr/local/games" /etc/environment; then
sed -i '/^PATH=/ s,:/usr/games,:/usr/games:/usr/local/games,g' /etc/environment
fi
fi
fi

if dpkg --compare-versions "$2" lt-nl 1.1.2-1 \
&& grep -q 'pam_unix.*\bmin=[0-9]\+' /etc/pam.d/common-password
then
echo "'min=' option to pam_unix is obsolete."
echo "replacing with 'minlen=' in /etc/pam.d/common-password."
sed -i -e'/pam_unix/ s/\bmin=/minlen=/' /etc/pam.d/common-password
fi