Operating System - HP-UX
1832487 Members
4113 Online
110043 Solutions
New Discussion

TTY files permission changed

 
SOLVED
Go to solution
Peter Chuang
Frequent Advisor

TTY files permission changed

Experts,

One of our old server D200 with 10.20 periodly changed the permission to read only in /dev/tty*. Only several tty files have this problem. When users tried to telnet to server, they got the error message: "CAN NOT OPEN /dev/tty READ/WRITE TO ASK. QUITTING." Any ideal what cause this problem. Thanks

Peter
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: TTY files permission changed

Greetings Peter,

How about showing us the before and after permissions.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Massimo Bianchi
Honored Contributor
Solution

Re: TTY files permission changed

Hi,
what caused no, but solution can be to re-create them.


insf -e -Cpseudo

Massimo
Peter Chuang
Frequent Advisor

Re: TTY files permission changed

The permission should be crw-rw-rw, but several ports are crw-r-r instead.
doug mielke
Respected Contributor

Re: TTY files permission changed

I've had faulty printer communication setups change permissions ( and worse) on printer interface files.
Could bad terminal comm setting send back garbage to the /dev/tty file and damage it?