56
I 1 Operation of CMC-TC master by browser
Tab – Admin
General information on the shutdown of computers
-
Shutdown for Windows operating systems
There is an interface for network-assisted shutdown of Windows systems for Windows 2000, XP and the server versions. A precondition for
using this interface is that the following system services are running on the system to be shut down:
-
File and printer enable
-
Workstation service
-
Server (RPC support)
-
Remote procedure selection
Finally a user account for which a certain system right with the designation "Forcing the shutdown from a computer system" is set must be
available.
Note:
If the remote shutdown doesn’t work with Windows XP, you need to change the following settings (please process step by step):
1.
click “Start” button
2.
select “run”
3.
insert “
cmd
”
and click ok
4.
insert “
Secpol.msc /s
”
and press enter
5.
select „
Security Settings
“ from the left panel
6.
double click “
Network access: Sharing and security model for local accounts
”
7.
select “classic” from the
8.
pull-down-menu and click ok
9.
System reboot
-
Shutdown for Linux operating systems
In Linux systems the shutdown is not as in Windows operating systems through a standardized RPC interface. Instead, a program that
performs the shutdown is selected locally on the Linux system by SSH access. Since a shutdown can be occasioned normally only by the
"root" administrator, a selection with which an arbitrary user can execute a program with administrator rights was selected. The "sudo"
command was used for this purpose. The following preconditions are necessary so that a shutdown can be performed successfully.
-
An SSH service through which a user can log in from the CMC-TC master device must run on the Linux system.
-
The user who should initiate the shutdown must have the authorization to select the "/sbin/shutdown" program through the "sudo"
command.
-
The "sudo", "echo" and "/sbin/shutdown" programs are required locally on the relevant computer.
The command to shut down the Linux system looks as follows:
echo
[password]
| sudo –S –b /sbin/shutdown –h +
[delay time]
'
[message text]
'
The command for aborting a running shutdown process is
echo
[password]
| sudo –S /sbin/shutdown –c
To enable access from the CMC-TC master device to the system to be shut down, the fingerprint of the relevant Linux computer exchanged
at the log-in must be known to the master device.
This precondition is fulfilled as follows:
If the data required for the shutdown process have been entered by the administrator through the web page of the master device, it is also
possible to test the shutdown process through the web page. A shutdown process can be initiated and aborted again by mouse click. If it is
found in this test that the fingerprint of the Linux system is unknown, it can be registered permanently after inquiry by the master device.
Only then can the shutdown process be performed alarm-controlled.
DK 7320.000
Note
: The "sbin/shutdown" program possibly disables the login of users before the shutdown is executed. In this
case the shutdown process of the master device can no longer be aborted, since the master device no longer
has any possibility of connection to the system. This also applies to the test of the shutdown settings.
It can be that the possibility of logging in from the outside is not disabled immediately after the start of the
shutdown process, but only some time after the actual shutdown takes place. Therefore, if the abort of the
shutdown process initially functions, this is no guarantee that the process can be aborted in every case.