⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
lib
/
dpkg
/
info
/
View File Name :
usermin.postinst
#!/bin/sh killmodenone=0 justinstalled=1 if [ -d "/etc/usermin" ]; then justinstalled=0 fi inetd=`grep "^inetd=" /etc/usermin/miniserv.conf 2>/dev/null | sed -e 's/inetd=//g'` productpidfile=`grep "^pidfile=" /etc/usermin/miniserv.conf 2>/dev/null | sed -e 's/pidfile=//g'` if [ -r "$productpidfile" ]; then productrunning=1 fi if [ "$1" = "configure" ]; then # Upgrading the package, so stop the old Webmin properly if [ "$inetd" != "1" ]; then if [ -f "/etc/usermin/.pre-install" ]; then /etc/usermin/.pre-install >/dev/null 2>&1 $tempdir/usermin-setup.out 2>&1 if [ "usermin" = "webmin" ]; then grep sudo= /etc/usermin/miniserv.conf >/dev/null 2>&1 if [ "$?" = 1 ]; then # Allow sudo-based logins for Ubuntu echo sudo=1 >>/etc/usermin/miniserv.conf fi fi rm -f /var/lock/subsys/usermin if [ "$inetd" != "1" ]; then productucf=Webmin if [ "usermin" = "usermin" ]; then productucf=Usermin fi if [ "$justinstalled" = "1" ]; then /etc/usermin/start >/dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /etc/usermin/uninstall.sh <
/dev/null\` if [ -x "\$systemctlcmd" ]; then \$systemctlcmd stop usermin >/dev/null 2>&1 /dev/null 2>/dev/null sslmode=0 if [ "$?" = "0" ]; then grep ssl=1 /etc/usermin/miniserv.conf >/dev/null 2>/dev/null if [ "$?" = "0" ]; then sslmode=1 fi fi if [ "$sslmode" = "1" ]; then echo "Usermin install complete. You can now login to https://$host:$port/" >>$tempdir/usermin-setup.out 2>&1 else echo "Usermin install complete. You can now login to http://$host:$port/" >>$tempdir/usermin-setup.out 2>&1 fi if [ "usermin" = "webmin" ]; then echo "as root with your root password, or as any user who can use sudo" >>$tempdir/usermin-setup.out 2>&1 echo "to run commands as root." >>$tempdir/usermin-setup.out 2>&1 else echo "as any user on the system." >>$tempdir/usermin-setup.out 2>&1 fi