mesg off for /AutoPPP/

Gert Doering (gert@greenie.muc.de)
Wed, 10 Jun 1998 21:52:22 +0200


Hi,

Marc SCHAEFER wrote:
> I just did a wall, and, one of the PPP sessions:
> 
> Jun 10 19:59:01 vulcan pppd[17501]:  20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a]
> Jun 10 19:59:01 vulcan pppd[17501]: demuxprotrej: Unrecognized Protocol-Reject for protocol 0xd
> 
> Looks like AutoPPP does not set mesg to off. I didn't find any option
> to pppd for this, so maybe this should be done by mgetty (same for /Fido/,
> maybe add a new settings ?)

Basically, this is not a real mgetty question -- "mesg n" doesn't do more
than setting the tty's permission to "600".

While I think that pppd should change that, you can easily achieve it with
a small wrapper called from login.config.

(IIRC the permissions should be 0600 anyway when waiting for the login
name - or AutoPPP in that case - could anybody please verify this?)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de