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

H O M E


Filename/var/lib/dpkg/info/openssh-server.config
Size603
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:56
Last modified14-Apr-2014 20:13
Last accessed06-Jul-2025 22:38
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#! /bin/sh
set -e

. /usr/share/debconf/confmodule
db_version 2.0

get_config_option() {
option="$1"

[ -f /etc/ssh/sshd_config ] || return

# TODO: actually only one '=' allowed after option
perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \
/etc/ssh/sshd_config 2>/dev/null
}

if dpkg --compare-versions "$2" lt-nl 1:6.6p1-1 && \
[ "$(get_config_option PermitRootLogin)" = yes ]; then
if [ "$(getent shadow root | cut -d: -f2)" = "!" ]; then
db_set openssh-server/permit-root-login true
else
db_input high openssh-server/permit-root-login || true
db_go
fi
fi

exit 0