summaryrefslogtreecommitdiff
path: root/packages/keylaunch/files/80chvt-SUID
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-11-25 22:43:28 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-11-25 22:43:28 +0000
commit5b56ea8960f47f11fd7923abeb938fc57c84942e (patch)
tree649b5f07a6a2116be2b82e57734e95a848927d06 /packages/keylaunch/files/80chvt-SUID
parent6455c691e7d17a65938ac633c63c170aae9c9da2 (diff)
keylaunch 2.0.10: Separate a keylaunch, a generic X key binding utility,
from random crap aka device-specific (mis)configs and hacks.
Diffstat (limited to 'packages/keylaunch/files/80chvt-SUID')
-rw-r--r--packages/keylaunch/files/80chvt-SUID25
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/keylaunch/files/80chvt-SUID b/packages/keylaunch/files/80chvt-SUID
deleted file mode 100644
index e3b4efef5d..0000000000
--- a/packages/keylaunch/files/80chvt-SUID
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh
-#
-# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
-#
-# Filename: chvt-SUID.sh
-# Date: 28-May-06
-
-
-#
-# Sets the SUID bit on chvt to allow changing to the VT from inside X by
-# any user. Since a SUID binary still is a security risk, we chmod only
-# when keylaunch is used and not by default.
-#
-
-for target in /usr/bin/chvt.console-tools
-do
- if test "`ls -l "$target" | awk '{print $1}'|cut -c 2-4`" != "rws"
- then
- echo "Making [$target] SUID root..."
- chmod u+s "$target"
- else
- echo "Ignoring [$target]"
- fi
-done