403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.197.208
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/sssd-common.preinst
#!/bin/sh

set -e

APP_PROFILE="usr.sbin.sssd"
APP_CONFFILE="/etc/apparmor.d/$APP_PROFILE"
APP_COMPLAIN="/etc/apparmor.d/force-complain/$APP_PROFILE"

inst_complain_profile() {
    # Create a symlink to the yet-to-be-unpacked profile
    mkdir -p `dirname $APP_COMPLAIN` 2>/dev/null || true
    ln -sf $APP_CONFFILE $APP_COMPLAIN
}

case "$1" in
install)
    # Force the AppArmor profile to complain mode on install
    inst_complain_profile
    ;;
upgrade)
    if dpkg --compare-versions "$2" le 2.8.2-3; then
	# 2.8.2-2 added a line for subid which was premature given that
	# libsubid supports only a single database. Let's remove it to avoid
	# breaking systems where the user expects /etc/sub[ug]id to continue to
	# work.
	sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" -e '/^subid:\s*sss\s*$/d'
    fi
esac

# Automatically added by dh_installinit/13.24.1ubuntu2
if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/sssd" ] ; then
	chmod +x "/etc/init.d/sssd" >/dev/null || true
fi
# End automatically added section


Youez - 2016 - github.com/yon3zu
LinuXploit