[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Security Implications of running startx from command line - was Re: Startx: was Great Debian experience



On Fri 21 Mar 2014 at 09:24:21 +0000, Jonathan Dowland wrote:

> On Thu, Mar 20, 2014 at 02:19:46PM +0000, Brian wrote:
> >    Ctrl+Alt+F1...F12
> >         For systems with virtual terminal support, these keystroke
> >         combinations are used to switch to virtual terminals 1
> >         through 12, respectively. This can be disabled with the
> >         DontVTSwitch xorg.conf(5) file  option.
> 
> I doubt that stops e.g. chvt(1) from working. I'm sure there are a
> myriad other ways to switch VT from within the X session, too.

In an xterm (with or without using DontVTSwitch):

   brian@localhost:~$ chvt 4
   Couldn't gat a file descriptor referring to the console

Doubt no longer. :)


Reply to: