Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Pre-login banner
@ 1994-05-11 12:54 Thomas Sippel - Dau
  1994-05-11 17:33 ` David Boyce
  1994-05-16  8:50 ` Is there a NNTP server for the OSF/1 Steven Wong
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Sippel - Dau @ 1994-05-11 12:54 UTC (permalink / raw)


Hello,

we nned to display a banner before people log in, be that via telnet, ftp,
rlogin, or over serial lines. Under Ultrix we did this by putting the
(multi-line) message into the symbol "default" in /etc/gettytab, on IRIX
and there is a file called /etc/issue, which is display before the "login:"
prompt is printed.

Is there such a facility on osf1 ?

We could only find the message field in /etc/gettydefs, but there are no
symbols, and putting about a kilobyte into the messagefield 35 times
(for each entry) makes the file a pain to edit.

Any help will be gratly appreciated.               Thomas


-- 
*** This is the operative statement, all previous statements are inoperative.
*   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
*   voice: +44 (1)71 594 6904 (day), or +44 (1)71 594 6957 (fax)
*   snail: Imperial College of Science, Technology and Medicine
*   The Center for Computing Services, Kensington SW7 2BX, Great Britain


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pre-login banner
  1994-05-11 12:54 Pre-login banner Thomas Sippel - Dau
@ 1994-05-11 17:33 ` David Boyce
  1994-05-16  8:50 ` Is there a NNTP server for the OSF/1 Steven Wong
  1 sibling, 0 replies; 3+ messages in thread
From: David Boyce @ 1994-05-11 17:33 UTC (permalink / raw)


>> we nned to display a banner before people log in, be that via telnet, ftp,
>> rlogin, or over serial lines. Under Ultrix we did this by putting the
>> (multi-line) message into the symbol "default" in /etc/gettytab, on IRIX
>> and there is a file called /etc/issue, which is display before the "login:"
>> prompt is printed.

>> Is there such a facility on osf1 ?

>> We could only find the message field in /etc/gettydefs, but there are no
>> symbols, and putting about a kilobyte into the messagefield 35 times
>> (for each entry) makes the file a pain to edit.

>> Any help will be gratly appreciated.               Thomas

Not that I've tried it, but since OSF/1 is fully messagized you should
be able to replace the "login:" prompt in the message catalog for the
login program with whatever text you want.  Running the following
command on DEC OSF/1 1.3:

dsb@presto> dspcat /usr/lib/nls/msg/en_US.88591/login.cat | grep login:
1 : 2 login: -h for super-user only.
1 : 3 login: -f for super-user only.
1 : 21 login: no shell: %s.
1 : 22 login: 
1 : 25 Last login: %.*s 

shows that the "login:" message is number 22 in set 1 (see dspcat(1)
for details).  Knowing that, you should be able to use the gencat(1)
utility to replace the message in that slot with random text.
Then you may need to make sure the LANG or LC_MESSAGES environment
variables are set to the english locale when login is run.  No guarantees
because I didn't try it.
--
David Boyce	dsb@osf.org	617-621-8963


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Is there a NNTP server for the OSF/1
  1994-05-11 12:54 Pre-login banner Thomas Sippel - Dau
  1994-05-11 17:33 ` David Boyce
@ 1994-05-16  8:50 ` Steven Wong
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Wong @ 1994-05-16  8:50 UTC (permalink / raw)


Hi :

	I need youe help !!! Do anyone know is there a NNTP or other news server for the OSF1 2.0 or 1.3a ....

	Thanks a lot

Steven


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-05-16  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-11 12:54 Pre-login banner Thomas Sippel - Dau
1994-05-11 17:33 ` David Boyce
1994-05-16  8:50 ` Is there a NNTP server for the OSF/1 Steven Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox