diff options
-rwxr-xr-x | kiss | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -84,6 +84,10 @@ root_cache() { # Validate the password now with a simple 'true' command as we # don't yet need to elevate permissions. + # + # Rather than checking if the '$pass' variable is non-empty, + # use an additional variable. The '[' command can be external + # which would result in '/proc' leakage. dosu /bin/true && have_pw=1 } |