No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V300R006C00 Object Storage Service (Compatible with Amazon S3 APIs) Administrator Guide 07

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Managing Alert Information Displayed Upon Login to an Operating System

Managing Alert Information Displayed Upon Login to an Operating System

This section describes how to update alert information displayed upon login to an operating system.

Context

You can add login alert information to the operating system, warning users who log in to the operating system of security risks. In addition, you can set and update existing login alert information.

Procedure

  1. Use SSH to log in to a storage node as user omuser.
  2. Run the su - root command, and then enter the password of user root to switch to user root.
  3. Run the cat /etc/ssh/sshd_config |grep Ba command to query the file containing existing alert information.
  4. Run the cat /etc/issue.net command to query the alert information.
  5. The following provides an example. Run the echo test > /etc/issue.net command to update corresponding alert information.

    login as: omuser
    
    Authorized users only. All activities may be monitored and reported.
    Using keyboard-interactive authentication.
    Password:
    Last login: Mon Aug 22 21:46:24 2016 from Node1
    
    Welcome to Euler Linux!
    
    omuser@Node1:~> su root
    Password:
    Node1:/home/omuser # TMOUT=0
    Node1:/home/omuser # cat /etc/ssh/sshd_config |grep Ba
    #Banner none
    Banner /etc/issue.net
    Node1:/home/omuser # cat /etc/issue.net
    
    Authorized users only. All activities may be monitored and reported.
    Node1:/home/omuser # echo test > /etc/issue.net
    Node1:/home/omuser # cat /etc/issue.net
    
    test

Translation
Download
Updated: 2019-04-28

Document ID: EDOC1000122523

Views: 11578

Downloads: 84

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next