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? |
"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 |
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? |
" 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 |
All times are GMT -5. The time now is 07:36 PM. |