1751851 Members
5333 Online
108782 Solutions
New Discussion юеВ

welcome.txt and SSH

 
SOLVED
Go to solution
Theo van der Zwet
New Member

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 5
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
New Member

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
New Member

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