From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210740.tru64-unix-managers.marc@archive.invalid> From: matthewm () voyager ! sgate ! com (Michael Matthews) Date: Fri, 30 May 1997 17:55:54 +0000 To: tru64-unix-managers Subject: SOLVED: /dev/pty* Permission denied X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210740 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/