What are pseudo-tty devices? Is my /etc/securetty file contains any?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers What are pseudo-tty devices? Is my /etc/securetty file contains any?
# 1  
Old 11-29-2010
What are pseudo-tty devices? Is my /etc/securetty file contains any?

Hi ,
I have searched wiki for pseudo tty devices but it was very complex for me to understand.
Can any one help me understanding concept behind pseudo-tty in layman language?
According to security manual of our org /etc/securetty files shouldn't have any pseudo tty devices.
i understand
ttyX
vc/X
are not tty devices but not sure about
console and xvc0 .
Please help.
I m posting the content of my /etc/securetty file.
Code:
]# cat /etc/securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
ttyS0
xvc0

# 2  
Old 11-29-2010
This is Operating-System dependent. It doesn't look like a mainstream unix.
# 3  
Old 11-29-2010
xvc0 is probably there to allow root login on a xen console. This a virtualized host?
# 4  
Old 11-29-2010
Quote:
Originally Posted by pinga123
Hi ,
I have searched wiki for pseudo tty devices but it was very complex for me to understand.
A pseudo-TTY is it's a virtual device that acts like a terminal -- that is to say, acts like a serial port plus all the frills UNIX has added to them over the years with a keyboard and screen attached. You get features and side-effects like you'd expect of a real terminal: It can be configured to produce SIGINT when someone writes ctrl-C into it, you can configure it to echo its input or not, etc, etc. But it's not a real terminal -- it's a purely software thing. There's no real keyboard or screen involved anymore.

This is used for things like ssh, where you want to log into a real terminal but of course are too far away to do so. It opens a pseudo-terminal instead and just sends everything along.

Software can tell the difference between something that's a terminal and something that's not. Password inputs read only from a real TTY or a pseudo-tty for instance.

Last edited by Corona688; 11-29-2010 at 01:31 PM..
# 5  
Old 12-01-2010
Quote:
Originally Posted by fpmurphy
xvc0 is probably there to allow root login on a xen console. This a virtualized host?
Yes .Is it a pseudo device?
# 6  
Old 12-01-2010
yes it is a pseudo device.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies

2. Solaris

/devices/pseudo/md - detecting problems?

Got an informix DB that won't start because DB chunk is offline. Its a raw device. See below:- lrwxrwxrwx 1 root root 29 Feb 6 2013 /dev/DB -> /devices/pseudo/md@0:0,10,raw How do I tell what that refers to? I've checked metadb and metastat and cant see any issues? (2 Replies)
Discussion started by: psychocandy
2 Replies

3. Red Hat

etc/Securetty

Hey, Can someone help me with what the vcx and console entries in /etc/Securetty file are? I understand that tty is the terminal that we usually login to using Ctrl+Alt+Fx. Not sure of the vcx and console entries. (0 Replies)
Discussion started by: prithvirao17
0 Replies

4. Shell Programming and Scripting

Auto Ftp pseudo random file

I have a script that generates a file which is my own incarnation of a date using the 'date' function (we'll call this script a). I would like that script to invoke my other script (script b) which contains my ftp info. Since I have yet to figure out a good way to use regular ftp (yes i can only... (6 Replies)
Discussion started by: DC Slick
6 Replies

5. AIX

Difference between tty and console devices ?

Hi, What is the diference between these two ? thanks Vilius (3 Replies)
Discussion started by: vilius
3 Replies

6. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

7. Solaris

what is /devices/pseudo/ ??

Hi all, what does this mean? if then <something> fi here is what i know.. it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop. However am not understand what lofi@0:means? also is there... (3 Replies)
Discussion started by: wrapster
3 Replies

8. Solaris

pseudo: [ID 129642 kern.info] pseudo-device: vol0

Hi I have a system that gave me some messages on bootup that I was not used to seeing: pseudo: pseudo-device: vol0 genunix: vol0 is /pseudo/vol@0 these came with these: Feb 13 17:42:17 system1 eri: SUNW,eri0 : 100 Mbps full duplex link up Feb 13 17:42:21 system1sendmail: My unqualified... (0 Replies)
Discussion started by: mndavies
0 Replies

9. UNIX for Dummies Questions & Answers

Pseudo TTy on Sco

I need to be able to set the terminal emulation type assigned to the ttyp. How do I go about doing so? Noob needing help. Thanks Rurki (1 Reply)
Discussion started by: Rurki
1 Replies

10. Programming

How to programm TTY devices under UNIX platform?

Dear Export, I want to begin an serial-communication application codes associated with TTY devices. But I don't know what key settings should be concerned after opening a TTY device file under UNIX plarform(SunOS 5.7)? Could you give me some adivce? Thanks! (8 Replies)
Discussion started by: WayneYang
8 Replies
Login or Register to Ask a Question