Hello!
I've only slightly modified Replacement Message "post_admin-disclaimer-text" but kept out-of-box system variables. However, as per screenshot, variable values aren't being substituted (or are empty valued)... Is this a fault, or am I'm doing it wrong?
FG200F-1 (global) # show system global | grep post-login-banner
set post-login-banner enable
FG200F-1 (global) # show system replacemsg admin post_admin-disclaimer-text
config system replacemsg admin "post_admin-disclaimer-text"
set buffer "Unauthorised Access Prohibited.
%%LAST_SUCCESSFUL_LOGIN%%;
%%LAST_FAILED_LOGIN%%"
end
c:\Temp} ssh -l username FG200F-1
username@FG200F-1's password:
Unauthorised Access Prohibited.
;
(Press 'a' to accept):
FG200F-1 # exit
Connection to FG200F-1 closed.
Also.. How to include line breaks?
Solved! Go to Solution.
Do you have this enabled?
config system global
set login-timestamp enable
end
Below KB has a typo: should be "enable", not "enabled":
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-last-successful-failed-login-d...
Toshi
Do you have this enabled?
config system global
set login-timestamp enable
end
Below KB has a typo: should be "enable", not "enabled":
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-last-successful-failed-login-d...
Toshi
Thank you!
User | Count |
---|---|
2137 | |
1187 | |
770 | |
451 | |
347 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.