LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-21-2003, 02:06 AM   #1
wqhhust
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
what is the difference bewteen tty and vc in file /etc/securetty


I think vc is short for virtual console,and when the linux startup at level 5.And pressing CTRL+F <1-6> can make a terminate ,Is that virtual console?
And what is the tty? If running a terminate in the x windows ,is that also a virtual console or a tty?
 
Old 12-21-2003, 07:04 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,533

Rep: Reputation: 178Reputation: 178
"pressing CTRL+F <1-6> can make a terminate ,Is that virtual console?"

Yes. That is a virtual console.


" And what is the tty?"

A tty is a file, /dev/tty*. It used to represent a physical device. Now it usually represents a pathway through which a X Window terminal can communicate with the keyboard and monitor.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-23-2003, 07:01 AM   #3
wqhhust
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your reply,then I know that if comment vc1,vc2:

#vc1
#vc2
in /etc/secretty,then root can not log in at the terminal triggered by CTRL+F1,CTRL+F2,
but if comment on tty1,tth2
#tty1
#tty2
then what will be forbidden?
 
Old 12-23-2003, 09:20 AM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,533

Rep: Reputation: 178Reputation: 178
" if comment on tty1,tth2
#tty1
#tty2
then what will be forbidden"

I think that you will not be able to use various application programs that use the command line. You will get messages like "unable to open console".

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
fundamental differences bewteen linux and windows gatomeno Linux - Newbie 5 10-23-2003 12:31 AM
XFree output to tty-something. Not to file Scerj Linux - General 0 04-12-2002 02:15 AM
troff: fatal error: can't find macro file tty-char robinhood1995 Linux - Software 0 01-28-2002 11:45 AM
Capturing tty data to a file svaujin Linux - Newbie 2 04-03-2001 09:53 AM


All times are GMT -5. The time now is 11:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration