Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: login banner example

$
0
0

When writing the policy to match this, you may have to use \n character to indicate a new line.  This is because the policy reporter does not understand when a new line occurs, and can be very nit-picky about spacing and new lines when it comes to matching.  The expression might look something like this:

 

banner login ^\n****************************************************************************************\n*                                                                                      *\n*    USE OF THIS SYSTEM IS RESTRICTED TO AUTHORIZED PERSONNEL. ACCESSING AND/OR      *\n*    USING THIS SYSTEM WITHOUT AUTHORIZATION, OR FOR UNAUTHORIZED PURPOSES, IS        *\n*    STRICTLY PROHIBITED BY THE COMPANY AND MAY CONSTITUTE A CRIME.  YOUR USE OF      *\n*    THIS SYSTEM IS SUBJECT TO MONITORING, blah, blah, blah..............................                          *\n*                                                                                      *\n****************************************************************************************\n^

 

 

Alternatively, you could try to create a new rule per each line.


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>