Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

welcome.txt and SSH

SOLVED
Go to solution
Theo van der Zwet
Occasional Visitor

welcome.txt and SSH

When a user logs in to VMS with SSH he only sees @sys$manager:welcome.txt instead of the contents and how can I show a user that the logins are 0. Now he tries and tries and becomes an intruder.

Gr. Theo
5 REPLIES
Eberhard Wacker
Valued Contributor
Solution

Re: welcome.txt and SSH

Hi, it's one of several "missing features" of SSH on OpenVMS:
- sys$welcome is not usable
- sys$announce is not usable in the format "@filename.txt"
- f$getdvi does not return remote port information
- there is no timeout when you enter ssh nodename and then stop entering the
password

Workaround to show the contents of a welcome.txt file: put into sys$sylogin
$ if f$extract(0,3,f$getjpi("","TERMINAL")) .eqs. "FTA" then type system_dir:welcome.txt

Cheers,
Eberhard
Eberhard Wacker
Valued Contributor

Re: welcome.txt and SSH

sorry: system_dir = sys$manager
Wim Van den Wyngaert
Honored Contributor

Re: welcome.txt and SSH

And all login failures are treated equal. So, no exception for interactive limit 0 violation (and $ is not accepted in the username).

You will have to define a cluster logical with the interactive limit and test that in sylogin. And leave the interactive limit high.

Wim
Wim
Theo van der Zwet
Occasional Visitor

Re: welcome.txt and SSH

Both thanks for your reply. The first workaround without the lexcal function I already did. I will do it with the lexical funcion for the "normal" telnet users.

The second solution for the interactive limit I also will use.

Gr. Theo
Theo van der Zwet
Occasional Visitor

Re: welcome.txt and SSH

both solutions are working. The last solution however is tricky. You must not forget to exclude the systemaccounts.
ps. I saw it on time.

Theo