I'm currently working on a CentOS system (with Gnome desktop), where i want to disable the use of console for non allowed users. Actually when logging in with a standard user it launch my app and there is no way to access the desktop, but the user can still user VT switch to issue some command. In the other hand when logging as an administrator it will splash the desktop.
What I want to do is prevent a standard user from issuing commands but enable it for an administator.
I've tried so far modifiying
/etc/X11/xorg.conf to disable terminal switching (
Option "DontVTSwitch" "True") with success but it will prevent using it for every user.
Is there a way to allow VT switching for a certain user and disable it for other users ?