Solaris 10 system using the SMF management services Raiders (2)

2010-07-07  来源:本站原创  分类:OS  人气:246 

Second, management of SMF services

You can use RBAC rights profile to allow users to manage some of the SMF service, without having to give the user root access. The right configuration file defines what the user can run the command.

1 to disable a service: telnet

Previously, people use tools like telnet for remote administration unix system, but later due to illegal means to continuously improve the visitors, telnet proved to be an unsafe access methods abandoned mercilessly. Incredible is this: Since the insecure telnet, then why should the default sun start telnet service. So they need immediate steps to shut down the service:

 become superuser or assume including the Service Management rights profile role.

 Check the services you want to disable the relevant items.

If this service has the necessary related items, you can not disable this service.

 disable this service.

Figure 3 is a service disabled telnet command three steps:

Solaris 10 system using the SMF management services Raiders (2)

Figure 3 to disable a service telnet command steps the three

The first command shows the output of telnet service is not related to items. This example the second command to disable telnet service. The third command displays the telnet service is really disabled.

The same method to close rlogin and other unwanted services.

2 enable a service

Once the service is disabled, the disabled will continue to reboot after. The service re-run the only way to enable the service.

 become superuser or assume including the Service Management rights profile role.

 determine whether to meet the service relevant.

If the service is enabled, then the description meets the relevant services. Otherwise, use the svcadm enable-r FMRI to recursively enable all the relevant.

# Svcs-l FMRI | grep enabled
 enabled services.

# Svcadm enable FMRI
To rlogin service as an example.

Figure 4 is a service enabled command rlogin three steps:

Solaris 10 system using the SMF management services Raiders (2)

Figure 4 is a service enabled command rlogin three steps

The first command shows the output of services to meet relevant. , The second command to enable rlogin service. The third command displays the rlogin service instance is online.

3 How to restart services

If for configuration changes or other reasons need to restart the services currently running, then you can restart the service, while having to type the command to stop the separate start the service. Only need to disable the service, change the configuration before the opening of service only when specifically required to first disable the service, and then opened. Use the command:
# Svcadm restart FMRI
Here is the command to restart ssh:
# Svcadm restart ssh

相关文章
  • Solaris 10 system using the SMF management services Raiders (3) 2010-07-07

    4 How to restore the service in maintenance state ? Become super user or bear, including Service Management rights profile role. ? Identify any process dependent on whether the service has stopped. Note: Usually when a service instance is in maintena

  • Solaris 10 system using the SMF management services Raiders (1) 2010-07-07

    1, monitoring SMF Services 1. View the status of all services Use the command: svcs-a Figure 1 is a JDS Desktop Environment svcs-a command output. Figure 1 svcs-a command output shows the output of Figure 1: service instance svcs command displays the

  • Solaris 10 system using the SMF management services Raiders (2) 2010-07-07

    Second, management of SMF services You can use RBAC rights profile to allow users to manage some of the SMF service, without having to give the user root access. The right configuration file defines what the user can run the command. 1 to disable a s

  • Solaris 10 install Oracle 10g (1. Preparation) 2010-03-11

    This one brings in the Solaris 10 install Oracle 10g, been done before a CentOS5.3 install Oracle11g 11g because the system does not provide x_86 platform, so I chose the 10g, Oracle is now two products are considered the company, so the best possibl

  • AIX 6.1.Solaris 10 and HP-UX and System p (Zhuantie) 2010-12-02

    http://www.ibm.com/developerworks/cn/aix/library/au-aix61compare/index.html # First discuss the three major commercial UNIX operating system, the latest version of the new features and innovations. HP-UX innovation HP-UX is HP's UNIX operating system

  • AIX 6.1.Solaris 10 and HP-UX and System p () 2010-12-02

    http://www.ibm.com/developerworks/cn/aix/library/au-aix61compare/index.html # First discuss the three major commercial UNIX operating system, the latest version of the new features and innovations. HP-UX innovation HP provides HP-UX is the UNIX opera

  • Windows 7 System 10 system services must not be closed and split in (turn) 2010-03-22

    1.DNS Client Official explained: DNS Client service (dnscache) caches Domain Name System (DNS) name and register the computer's full computer name. If the service is stopped, will continue to resolve DNS names. However, DNS names will not cache query

  • 10 lightweight CMS Web Content Management System 2010-03-25

    Recommended here are 10 simple lightweight web content management system for each Web designers and Web developers are easy to use, is generally small sites optional implementations, each of the 10 CMS System characteristics. Wolf CMS Wolf CMS simpli

  • solaris 10 operating system, set a static ip 2010-05-23

    Newly installed solaris 10 operating system, the installation was successful, it was found not online, in fact, the process of installing the operating system has been set up static IP address, but to make the machine access to the Internet, have to

  • solaris 10 operating system to set a static ip 2010-05-23

    Newly installed solaris 10 operating system, the installation was successful, and found not the Internet, in fact, the process of installing the operating system has been set up static IP address, but to make the machine to the Internet, have to conf

  • WebLogic 10.3 installation. Configuration and Management Manual (rpm) 2011-07-27

    WebLogic 10.3 installation, configuration and management Chapter 4 for WebLogic 10.3 for SUSE linux § 2.1 Installation Preparation  download WebLogic10.3 for x86 linux installation file;  Installing Suse Linux enterprise Server 11.0;  Check the Su

  • IBM LS21 install Solaris 10 u9 2010-11-22

    IBM LS21 install Solaris 10 u9 These days the IBM LS21 has not been installed on solaris 10 installed into the interface Figure has been stuck in the screen. Depressed Today in the foreign site to see a solution, tried it can be installed successfull

  • In solaris 10 install jdk1.6 2010-08-11

    http://hi.baidu.com/% C6% BB% B9% FB% BE% C6% B0% C9/blog/item/537f10de5da4585d94ee3701.html Download: http://www.zeinb.net/ruanjian/4775.html 1.jdk-6u6-solaris-i586.tar.Z installation (x86). a. Unzip the package # Zcat jdk-6u6-solaris-i586.tar.Z | t

  • IBM next generation of risk management services 2010-08-20

    With China's accession to WTO, financial institutions must reconsider the risk management policies, processes and systems, many agencies are to enter the next generation of risk management services. Most banks look forward to the risk management syst

  • Solaris 10 network configuration 2010-08-20

    Solaris Learning Network Configuration Installed in a virtual machine on Solaris operating system, the first network configuration, the system can connect to the Internet. 1, first view the card name of the command: # dladm show-link (rear configurat

  • Install Solaris 10 in VMWare the entire process 2010-08-28

    First, download: In http://www.sun.com/software/solaris/get.jsp election platform I chose x64/x86 Format Download DVD point to a registration page after the navigation and ask for an account and password, I had registered, and directly filled into. c

  • solaris 10 can not access solution 2010-11-19

    The reason why this article, there have been some "seems" because the solution of this problem before, do a lot of attempts, so when success does not guarantee that each step is necessary, it is possible to do some useful work. Even if no useful

  • solaris 10 on x86 install 2010-11-20

    http://ftp.sunfreeware.com/ftp/pub/freeware/intel/5.10/ --- --- Gcc installed View sun os version 1 The command uname-a system version. That is SunOS 5.8. Called SunOS 5.8 Solaris 8 SunOS 5.9 is called Solaris 9, after saying there is no 5.x, and the

  • VMWare virtual machine to install Solaris 10 on how to configure Internet 2011-01-25

    The first step: VMWare is set to bridged mode, which usually is the default mode. Step Two: Configure VMware Network Adapter VMnet1. My Network Places -> Network Connections -> start VMware Network Adapter VMnet1 VMnet1 set the ip address informatio

  • Sftp use under Solaris 10 2011-07-08

    Solaris 10 itself comes with sftp sftp client and server, which, sftp server is used to implement SSH sshd file transfer protocol. By default, Solaris 10's ssh service is enabled, sftp service is open to all local unix user account can log on the mac