Package: sdm-terminal
Version: 0.4.0b-4
Followup-For: Bug #509331

the following patch should resolve this issue, by moving the checked file into
/var/run, which is not writeable by all users.

--- sdm-login.orig      2009-06-19 14:14:22.000000000 -0700
+++ sdm-login   2009-06-19 14:14:45.000000000 -0700
@@ -70,13 +70,13 @@
   login_text="Welcome to $server"
 fi

-if [ -e /tmp/sdm.autologin.once ]; then
+if [ -e /var/run/sdm.autologin.once ]; then
    autologin="no"
 fi

 case $autologin in
        yes|y|Y|Yes) ;;
-  once) touch /tmp/sdm.autologin.once ;;
+  once) touch /var/run/sdm.autologin.once ;;
        *) getLogin ;;
 esac

live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to