- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
System variable value not shown (or blank or empty) in Replacement Message
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.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
