1834896 Members
2443 Online
110071 Solutions
New Discussion

Re: tty and device files

 
Jose_11
Advisor

tty and device files

Hi All,

When I used telnet the device file my terminal used is /dev/pts/0 ( or /dev/pts/1 ... according to session number )

Can I force telnet to use device file from /dev/ directory instead of using device file fronm /dev/pts/ directory ??

Promised points to each reply !

Thanx in advance, Yossi
3 REPLIES 3
Laurent Paumier
Trusted Contributor

Re: tty and device files

If you remove the /dev/pts directory, telnet will use /dev/tty* instead. But I can't guarantee it won't break other programs...
Shahul
Esteemed Contributor

Re: tty and device files

Hi

This is just a thought..Try it out. If U change the owner permission of pts directory, Then I think it will assign tty from /dev directory.

Shahul
Laurent Paumier
Trusted Contributor

Re: tty and device files

Oops.. bad answer... I tried that on a system that seems to use tty* by default for telnet. sorry.