mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2025-12-17 00:54:08 -05:00
Replace 'sudo' with 'run0' in vault.sh
Signed-off-by: Ganwtrs <morga.nwinters-99@aliasvault.net>
This commit is contained in:
parent
71471a30b9
commit
7deb10ea6b
1 changed files with 4 additions and 4 deletions
|
|
@ -17,17 +17,17 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
unpriv(){
|
unpriv(){
|
||||||
sudo -u nobody "${@}"
|
run0 -u nobody "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null
|
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | run0 tee "${2}" > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/qubes-rpc/qubes.SshAgent /etc/qubes-rpc/qubes.SshAgent
|
download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/qubes-rpc/qubes.SshAgent /etc/qubes-rpc/qubes.SshAgent
|
||||||
sudo chmod +x /etc/qubes-rpc/qubes.SshAgent
|
run0 chmod +x /etc/qubes-rpc/qubes.SshAgent
|
||||||
|
|
||||||
# Not using openssh-askpass here, because of this bug:
|
# Not using openssh-askpass here, because of this bug:
|
||||||
# https://github.com/QubesOS/qubes-issues/issues/9741
|
# https://github.com/QubesOS/qubes-issues/issues/9741
|
||||||
|
|
||||||
sudo dnf install -y keepassxc okular pinentry-gnome3
|
run0 dnf install -y keepassxc okular pinentry-gnome3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue