From: Simon Ruderich Date: Thu, 13 Aug 2009 17:26:36 +0000 (+0200) Subject: shell: Remove sudo rights when logging out. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7b8318ef78f7685505f09a483966c0ee8508e190;p=config%2Fdotfiles.git shell: Remove sudo rights when logging out. --- 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