mesg off for /AutoPPP/

Gert Doering (gert@greenie.muc.de)
Sun, 21 Jun 1998 23:22:42 +0200


Hi,

Marc SCHAEFER wrote:
> On Wed, 10 Jun 1998, Gert Doering wrote:
> > (IIRC the permissions should be 0600 anyway when waiting for the login
> > name - or AutoPPP in that case - could anybody please verify this?)
> 
> before connect:
> <vulcan> schaefer:/usr/users/schaefer> ls -la /dev/ttyS2
> crw-rw----   1 uucp     modem      4,  67 Jun 21 14:21 /dev/ttyS2
> 
> after connect (login prompt):
> <vulcan> schaefer:/usr/users/schaefer> ls -la /dev/ttyS2
> crw-------   1 uucp     modem      4,  67 Jun 21 14:21 /dev/ttyS2

That's what I would expect.

> [ well, this is kind of a problem. Maybe I will set it to root one day ]

Yeup.  One should do that.

> I did not check when PPP is detected, maybe the permissions are not
> changed.

They *are* changed to 0600 (because that is done before anything incoming
is checked).

> Or simply, when wall runs at root it simply bypasses the permission
> (ie no manual checking).

That's well possible.

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