This a full path name to a script called by smbd 8 that should start a shutdown procedure. If the connected user posseses the SeRemoteShutdownPrivilege, right, this command will be run as user. The %z %t %r %f variables are expanded as follows: %z will be substituted with the shutdown message sent to the server. %t will be substituted with the number of seconds to wait before effectively starting the shutdown procedure. %r will be substituted with the switch -r. It means reboot after shutdown for NT. %f will be substituted with the switch -f. It means force the shutdown even if applications do not respond for NT. Shutdown script example: #!/bin/bash time=$2 let time="${time} / 60" let time="${time} + 1" /sbin/shutdown $3 $4 +$time $1 & Shutdown does not return so we need to launch it in background. abort shutdown script /usr/local/samba/sbin/shutdown %m %t %r %f