SOLVED: /dev/pty* Permission denied

From: Michael Matthews <matthewm_at_voyager.sgate.com>
Date: Fri, 30 May 1997 13:55:54 -0400

Turns out the problem was due to a little fact I didn't mention -- all
users here have the Computronics PEEK shell installed, which allows
keystroke monitoring (and 'feeding'). It does this by basically
shadowing the tty's (I'm sure there are a LOT more details, but,
well...).

(The web script authenticates with the Unix password database, and when
expect spawns off a command, it uses that user's shell. Why my password
change script -- which does basically the same thing and was even the
basis for this calendar tool idea -- works and this one doesn't I
haven't got a clue.)

The fix was pretty easy: define the environment variable _ttyname to
be some bogus value and the PEEK shell (pksh) won't run, allowing
normal use.

And to think, my forehead took so much abuse for one little line....

Mike

-- 
---
Michael Matthews  				(703) 227 9281 / (703) 848 6359
Systems Administrator/Resident Geek	http://cyber.sgate.com/~matthewm/
Received on Fri May 30 1997 - 20:19:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT