service stop
Stop a service on the SafeNet appliance. Customer support might ask you to stop a particular service. Or, you may wish to control which functions are available on the SafeNet appliance. For example, if you are performing maintenance and prefer that nobody be able to use the NTLA to connect to the SafeNet Luna Network HSM, you can stop the NTLS service. A user performing maintenance via the serial port can stop the SSH service to prevent anyone from accessing the SafeNet appliance.
Use the service list command to display a list of services that you can stop.
NOTE Issuing service stop network stops the network service. Stopping the network service stops all network traffic (SSH, NTLS, etc.), and any network commands issued thereafter will fail. You can start the network service using the service start network command from a serial port connection or by rebooting the appliance using the sysconf appliance reboot command.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
service stop <servicename>
Argument(s) | Shortcut | Description |
---|---|---|
<service_name> |
Specifies the service to stop. Valid values: cbs, lsta, network, ntls, ntp, pedserver, snmp, ssh, stc, syslog, sysstat, webserver |
|
-force | -f | Force the action without prompting. |
Example
lunash:>service stop ntls Checking for connected clients before stopping NTLS service: There are no connected clients. Proceeding... Stopping ntls: [ OK ] Command Result : 0 (Success)