System Services
Start and stop of service
In a Linux system, if a service is run from Inittab with the Respawn attribute, the system service will not regenerate Solaris 10, because of the existence of SMF, and the system services that are automatically started by SMF, which are not valid for a simple kill operation, once they are killed or abnormally terminated. You must use the SVCADM command to disable or enable these services. Solaris 10 serves with SMF management.
If you want to modify those services that are managed by inetd, you need to edit the/etc/inet/inetd.conf and then execute the INETCONV command to create the corresponding service entries in the SMF to convert these services to accept SMF management. In Solaris 10, this type of service can be managed through the Svcadm or INETADM command
For example:
# svcadm Restart SSH//reboot SSH service Linux system,
The service is controlled by the xinetd daemon. The configuration of the service is typically stored in several locations/etc/inittab by init control/ETC/RC*.D individual run-level dedicated scripts to start various system services/etc/(x) inetd.conf controlled inetd by/ETC/INIT.D,/etc/ Rc*d are actually linked to various subdirectories in the/ETC/RC.D directory. "System Settings"--> "Server Settings" for several stop-mode GUIs, CLI's # ntsysv # service Service-name Stop|restart #/sbin /chkconfig--level 345 service-name on|off Common service name: network,iptables,httpd,vsftpd ... For example:
-bash-3.1# Service sshd Restart
Shutting down SSH daemon Done
starting SSH daemon done
The location of service configurations in Solaris
/etc/inittab is controlled by INIT, but Solaris 10 is not recommended for use with/ETC/RC? D,/etc/init.d/etc/inetd.conf is controlled by inetd, and the Inetadm or SMF is used in Solaris 10 to manage SMF only Solaris 10 uses