At some point you may want to stop and start some services.
For example some kind soul started the Telnet service on one of Production servers and left it running - a big security no-no!!
To list all services:
svcs
To list the Telnet service:
svcs -l telnet
fmri svc:/network/telnet:default
name Telnet server
enabled true
state online
next_state none
state_time 28 September 2011 14:08:15 BST
restarter svc:/network/inetd:default
contract_id
To disable the telnet service:
svcadm disable telnet
To enable the telnet service:
svcadm -v enable -r telnet
No comments:
Post a Comment