Re: Configure login banner on Mcafee web gateway dashboard and CLI.
For UI: navigate to "Configuration" > "User Interface" > "Login message" and type your test. Please notice, this text is ONLY shown on Java login screen at the bottom, in HTML GUI it is not shown. I have internally forwarded this to engineering and try to keep this post updated once I have further details.
For CLI: you must use normal Linux procedure (so not a specific McAfee method).
I got it to work with these 3 steps: 1) Login to GUI and navigate to "Configuration" > "File editor" > "sshd_config" and insert a line: banner /home/banner
2) Login to CLI and create "banner" and edit it with your text: #vim /home/banner
3) Restart sshd service #service sshd restart
Then try to relogin and it should look like this: login as: root Pre-authentication banner message from server: | Hello it's Mario! End of banner message from server root@<MWGIP>'s password:
Regards, Marcel Kutrieba Technical Support Engineer
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.