Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 1998 14:47:15 +0000 (GMT)
From:      Lists <lists@mrvid.demon.co.uk>
To:        Paul Dekkers <paul@cgu.ml.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: login-timeout?
Message-ID:  <Pine.BSF.3.95q.980116144227.15273F-100000@millennium.net>
In-Reply-To: <199801161205.NAA07457@chippie.cgu.edusurf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi

> Another question: is it possible to give the user a 'clear screen' firt
> before presenting them the login prompt? (What option do I have to setup
> in the gettytab?)

You have to send the client the following..

^[[H^[[J

..but you'll have to find somewhere to put control characters in vi
(haven't found it yet). The way I do it is ...

clear >>/tmp/temp
vi 
esc-:-E /etc/gettytab
esc-:-E /tmp/temp
use ctrl-w to get to the window with /tmp/temp in it
esc-dd
ctrl-w
find the line to add it at..
esc-P

Long-winded, but it's the only way I can find to do it.. btw this
might not work on a non-ansi terminal, i've had no problems with
it though over telnet sessions, on a dumb terminal etc.

> And; does anyone have a www-password-change program?

There's quite a few available, try www.perl.com and
search for password.

L8rz

KrOnUs <kronus@null.net>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980116144227.15273F-100000>