File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ autologin-user=user
3838
3939sudo append-once /etc/privleap/conf.d/privleap-debugging.conf " \
4040[action:sudo]
41- Command=chmod o+x /usr/bin/ sudo
41+ Command=/usr/libexec/helper-scripts/ sudo-tools-enable
4242AuthorizedGroups=sudo
4343AuthorizedUsers=user
4444"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # # Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
4+ # # See the file COPYING for copying conditions.
5+
6+ set -x
7+ set -e
8+
9+ file_list=(
10+ /usr/bin/su
11+ /usr/bin/sudo
12+ /usr/bin/sudoedit
13+ /usr/bin/pkexec
14+ /usr/bin/doas
15+ )
16+
17+ for file_item in " ${file_list[@]} " ; do
18+ if test -f " $file_item " ; then
19+ if ! test -x " $file_item " ; then
20+ chmod --verbose +x -- " $file_item "
21+ fi
22+ fi
23+ done
You can’t perform that action at this time.
0 commit comments