Guest User!

You are not Sophos Staff.

Astaro useful shell commands.

Hi to All.
I'm opening this thread so any of you which happens to run into useful Shell commands, can add it in here.
My goal is to create a document with many Astaro useful shell commands.
You are welcome to add, remark or reject any of the commands in here.
[:)]



This thread was automatically locked due to age.
[unlocked by: BAlfson at 2:53 PM (GMT -7) on 4 Jun 2021]
Parents
  • I am wanting to create/delete backend users for use with hotspot authentication via ssh command line.

    Are there existing command to manage users? 

    Thanks
  • For the frequent question: Is SID xyz active in the IPS?

    dev-lmatt-02:/root # ips_patterninfo 
    
           _____ ____
         `----,\    )
          `--==\  /
           `--==\/
        .-~~~~-.Y|\_  Copyright (C) 2013 Sophos GmbH www.sophos.com
     @_/        /  66\_  Lukas.Matt@sophos.com 19.12.2013
       |    \   \   _(")
        \   /-| ||'--'
         \_\  \_\

       1517 of 20751 IPS rules currently configured

       /usr/local/bin/ips_patterninfo [options]

    --sid     - Search a specific rule ID
    --search  - Prints information for a global search pattern
    -h | --help        - Prints this help text

    dev-lmatt-02:/root # ips_patterninfo --sid 480
    Reading IPS information..

    [480] PROTOCOL-ICMP PING speedera
    * will not affect network traffic (alert-only)
    * last modified Mon Nov 20 23:21:00 2006
    * was categorized as 'Protocol Anomaly / Invalid Traffic'
    * [DISABLED] has 2 filter active
      [FILTER] warnings are not active (alert-only)
      [FILTER] rule is too old (360 days)


    The previous example shows you the reason why a specific rule is not active if it is available.
Reply
  • For the frequent question: Is SID xyz active in the IPS?

    dev-lmatt-02:/root # ips_patterninfo 
    
           _____ ____
         `----,\    )
          `--==\  /
           `--==\/
        .-~~~~-.Y|\_  Copyright (C) 2013 Sophos GmbH www.sophos.com
     @_/        /  66\_  Lukas.Matt@sophos.com 19.12.2013
       |    \   \   _(")
        \   /-| ||'--'
         \_\  \_\

       1517 of 20751 IPS rules currently configured

       /usr/local/bin/ips_patterninfo [options]

    --sid     - Search a specific rule ID
    --search  - Prints information for a global search pattern
    -h | --help        - Prints this help text

    dev-lmatt-02:/root # ips_patterninfo --sid 480
    Reading IPS information..

    [480] PROTOCOL-ICMP PING speedera
    * will not affect network traffic (alert-only)
    * last modified Mon Nov 20 23:21:00 2006
    * was categorized as 'Protocol Anomaly / Invalid Traffic'
    * [DISABLED] has 2 filter active
      [FILTER] warnings are not active (alert-only)
      [FILTER] rule is too old (360 days)


    The previous example shows you the reason why a specific rule is not active if it is available.
Children
No Data