stopnetsvc command
Purpose
Disables the ndpd-host, telnet, ftp, xntpd, ssh, snmp, ldap, or cimserver daemon.
Syntax
stopnetsvc [NetworkService][TracingSelection]
Description
The stopnetsvc command stops the ndpd-host, telnet, ftp, xntpd, ssh, snmp, ldap, or cimserver daemon. By disabling a service daemon, users can prevent anyone from being able to connect through the associated network service. The tracelog or errorlog options stop sending CLI tracing information or system error log information to the system log.
Parameters
Parameter | Description |
---|---|
NetworkService | The following values can be used:
|
TraceSelection | The following values can be used:
Note: A padmin user can use the vi command
to view files sent to the system log.
|
Exit Status
Examples
- To disable the telnet daemon, type the following command:
stopnetsvc telnet
- To disable the ftp daemon, type the following command:
stopnetsvc ftp
- To disable the ndpd-host daemon, type
the following command:
This command produces output similar to the following:stopnetsvc ndpd-host
0513-044 The /usr/sbin/ndpd-host Subsystem was requested to stop.
- To stop the tracelog option, type the
following command:
stopnetsvc tracelog
- To disable all service daemons, type the following command:
stopnetsvc ALL