From 7b8318ef78f7685505f09a483966c0ee8508e190 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 13 Aug 2009 19:26:36 +0200 Subject: [PATCH] shell: Remove sudo rights when logging out. --- shell/logout | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/logout b/shell/logout index 1a87b04..93135ee 100644 --- a/shell/logout +++ b/shell/logout @@ -11,4 +11,7 @@ if [ "$SHLVL" = 1 ]; then fi fi +# Make sure sudo rights are removed. +sudo -k + # vim: ft=sh -- 2.45.2