This file is indexed.

/usr/lib/plainbox-providers-1/checkbox/bin/cycle_vts is in plainbox-provider-checkbox 0.3-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

set -o errexit

# NB: This script must be run with root privileges in order to have any effect!

CURRENT_VT=`/bin/fgconsole`

if [ "$CURRENT_VT" == "" ]
then
    echo "Unable to determine current virtual terminal." >&2
    exit 1
fi

if [ "$CURRENT_VT" -ne "1" ]
then
    chvt 1
else
    chvt 2
fi

sleep 2
chvt "$CURRENT_VT"
sleep 2

# make sure we switched back
END_VT=`/bin/fgconsole`
if [ "$END_VT" -ne "$CURRENT_VT" ]
then
    echo "didn't get back to the original VT" >&2
    exit 1
fi