- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: Weird message when logging in
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Weird message when logging in
Hi all:
Yesterday we upgraded an 5400 appliance to R81.10 Take 130. Since then, when you log in this message shows up:
End of banner message from server
admin@192.168.x.x's password:
Last login: Fri Apr 19 08:49:52 2024 from 192.168.x.x
if: Expression Syntax.
then: Command not found.
[admin@gw01 ~]#
We are still checking the logs files of the system but nothing found yet. It seems the interpreter line from a script is incorrect but, which one?
Any idea?
Thanks in advanced
Regards
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We fixed it by changing the admin shell from /bin/csh to /bin/bash.
Thank you for your answers!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try to change the banner message? Maybe there is a weird character in it or something? Maybe go back to something default like: This system is for authorized use only.
You can change the banner in the webGUI -> System Management -> Messages -> Banner Message
Or via CLI
If you like this post please give a thumbs up(kudo)! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lesley,
Thanks for your answer. I changed the banner message but the message is still there:
Using username "admin".
Pre-authentication banner message from server:
| This system is for authorized use only
End of banner message from server
admin@192.168.x.x's password:
Last login: Fri Apr 19 09:36:48 2024 from 192.168.x.x
if: Expression Syntax.
then: Command not found.
[admin@gw01 ~]#
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you done a reboot? And tested with different SSH user?
I am afraid what Albrecht also states that probably a reinstall is needed. You can try with TAC for them to check.
I cannot find any open bugs or relevant SK's.
If you like this post please give a thumbs up(kudo)! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest to do a fresh install of the GW, looks like some file corruption to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We fixed it by changing the admin shell from /bin/csh to /bin/bash.
Thank you for your answers!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was first thing that came to my mind when I read your post. You can always change it to /etc/cli.sh if you dont want to go to expert mode when logging in
example -> chsh -s /etc/cli.sh admin
Best,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Strange ! That has changed during upgrade? Or just no banner issue before upgrade?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The banner was configured before the upgrade yes. Don't know why this message showed up after it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And you did not start admin session in expert mode previously? Mostly done for WinSCP connect...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I did several days before the upgrade in order to transfer the 81.10 images (81.10 base and JHF).
