mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 00:44:53 -04:00
set SUDO_ASKPASS for pkexec wrapper when using sudo --askpass
This commit is contained in:
parent
1a65a91039
commit
d4e02de43a
2 changed files with 12 additions and 1 deletions
10
usr/lib/security-misc/askpass
Executable file
10
usr/lib/security-misc/askpass
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
set -e
|
||||
|
||||
title="$0: password required for $(whoami) to perform action as superuser"
|
||||
|
||||
zenity --password --title="$title"
|
Loading…
Add table
Add a link
Reference in a new issue