403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.243.197
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/dnsmasq-base.postinst
#!/bin/sh
set -e

# Create the dnsmasq user in dnsmasq-base, so that Dbus doesn't complain.

if [ "$1" = "configure" ]; then
  # Create the user to run as.
  if [ -z "`id -u dnsmasq 2> /dev/null`" ]; then
    useradd --system \
            --gid nogroup \
            --comment dnsmasq \
            --home-dir /var/lib/misc --no-create-home \
            --shell /usr/sbin/nologin \
            dnsmasq
  fi

  # Make the directory where we keep the pid file - this
  # has to be owned by "dnsmasq" so that the file can be unlinked.
  # This is only actually used by the dnsmasq binary package, not
  # dnsmasq-base, but it's much easier to create it here so that
  # we don't have synchronisation issues with the creation of the
  # dnsmasq user.
  if [ ! -d /run/dnsmasq ]; then
    mkdir /run/dnsmasq
    chown dnsmasq:nogroup /run/dnsmasq
  fi
fi

# Automatically added by dh_installdeb/13.24.1ubuntu2
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/dnsmasq.conf 2.89-1.1\~ dnsmasq-base -- "$@"
# End automatically added section



Youez - 2016 - github.com/yon3zu
LinuXploit