Forum Discussion
Sylvain_85827
Cirrus
Feb 09, 2016tmsh gui banner with multiline
Hi,
I know how to do it from GUI but I'd like find how to configure a multiline security banner directly from tmsh command line. For example let's say below banner:
Warning line1
and now line 2
a...
juju_302433
Nimbostratus
Nov 03, 2017hi, for those who wants a dynamic banner, you can run regularly something like this :
tmsh modify sys global-settings gui-security-banner enabled gui-security-banner-text "`cat /etc/motd&&tmsh show cm failover-status | grep "Status "&&echo -e "\nUNAUTHORIZED ACCESS IS PROHIBITED\n\nPartition list :\n"&&tmsh list auth partition one-line | grep -vi common | sed -e "s/auth partition //" -e "s/ {.*//"`"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
