Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.217.105
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
rc2.d /
Delete
Unzip
Name
Size
Permission
Date
Action
K01apache-htcacheclean
2.43
KB
-rwxr-xr-x
2023-12-05 03:58
S01apache2
7.99
KB
-rwxr-xr-x
2023-12-05 03:58
S01apport
2.85
KB
-rwxr-xr-x
2025-05-23 05:40
S01console-setup.sh
1.2
KB
-rwxr-xr-x
2021-11-23 01:39
S01cron
2.99
KB
-rwxr-xr-x
2021-03-18 08:14
S01dbus
3.08
KB
-rwxr-xr-x
2021-06-28 21:15
S01dovecot
5.12
KB
-rwxr-xr-x
2022-11-15 09:32
S01grub-common
985
B
-rwxr-xr-x
2022-12-03 00:18
S01irqbalance
2.58
KB
-rwxr-xr-x
2021-10-30 19:55
S01iwpmd
2.11
KB
-rwxr-xr-x
2022-01-28 03:57
S01lvm2-lvmpolld
586
B
-rwxr-xr-x
2021-05-19 19:19
S01mysql
5.82
KB
-rwxr-xr-x
2024-10-14 20:29
S01nginx
4.47
KB
-rwxr-xr-x
2023-05-31 02:31
S01nmbd
1.89
KB
-rwxr-xr-x
2024-01-06 06:23
S01open-vm-tools
1.8
KB
-rwxr-xr-x
2023-11-30 09:10
S01openvswitch-switch
4.38
KB
-rwxr-xr-x
2023-06-30 00:51
S01plymouth
1.35
KB
-rwxr-xr-x
2022-02-23 23:15
S01postfix
3.02
KB
-rwxr-xr-x
2023-03-30 11:04
S01redis-server
1.58
KB
-rwxr-xr-x
2021-10-04 22:37
S01rsync
4.31
KB
-rwxr-xr-x
2022-10-12 07:37
S01samba-ad-dc
2.21
KB
-rwxr-xr-x
2024-01-06 06:23
S01smbd
2.01
KB
-rwxr-xr-x
2024-01-06 06:23
S01ssh
3.96
KB
-rwxr-xr-x
2023-01-11 20:09
S01supervisor
3.64
KB
-rwxr-xr-x
2020-09-11 19:59
S01unattended-upgrades
1.36
KB
-rwxr-xr-x
2021-02-19 21:11
S01uuidd
1.28
KB
-rwxr-xr-x
2022-02-21 10:49
Save
Rename
#! /bin/sh ### BEGIN INIT INFO # Provides: samba-ad-dc # Required-Start: $network $local_fs $remote_fs # Required-Stop: $network $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Samba daemons for the AD DC # Description: Meta-service to provide AD and SMB/CIFS services to clients ### END INIT INFO # # Start/stops the Samba daemon (samba). # Adapted from the Samba 3 packages. # PIDDIR=/run/samba SAMBAPID=$PIDDIR/samba.pid # clear conflicting settings from the environment unset TMPDIR # See if the daemon and the config file are there test -x /usr/sbin/samba -a -r /etc/samba/smb.conf || exit 0 . /lib/lsb/init-functions case "$1" in start) SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1` if [ "$SERVER_ROLE" != "active directory domain controller" ]; then exit 0 fi # CVE-2013-4475 KEYFILE=/var/lib/samba/private/tls/key.pem if [ -e $KEYFILE ] then KEYPERMS=`stat -c %a $KEYFILE` if [ "$KEYPERMS" != "600" ] then echo "wrong permission on $KEYFILE, must be 600" echo "samba will not start (CVE-2013-4475)" echo "Removing all tls .pem files will cause an auto-regeneration with the correct permissions." exit 1 fi fi log_daemon_msg "Starting Samba AD DC daemon" "samba" # Make sure we have our PIDDIR, even if it's on a tmpfs install -o root -g root -m 755 -d $PIDDIR if ! start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/samba --pidfile $SAMBAPID -- -D; then log_end_msg 1 exit 1 fi log_end_msg 0 ;; stop) log_daemon_msg "Stopping Samba AD DC daemon" "samba" start-stop-daemon --stop --quiet --pidfile $SAMBAPID # Wait a little and remove stale PID file sleep 1 if [ -f $SAMBAPID ] && ! ps h `cat $SAMBAPID` > /dev/null then # Stale PID file (samba was succesfully stopped), # remove it (should be removed by samba itself IMHO.) rm -f $SAMBAPID fi log_end_msg 0 ;; restart|force-reload) $0 stop sleep 1 $0 start ;; status) status_of_proc -p $SAMBAPID /usr/sbin/samba samba exit $? ;; *) echo "Usage: /etc/init.d/samba-ad-dc {start|stop|restart|force-reload|status}" exit 1 ;; esac exit 0