7 lines
134 B
Bash
Executable file
7 lines
134 B
Bash
Executable file
#!/bin/bash
|
|
set -eu
|
|
|
|
var="$1"
|
|
shift
|
|
|
|
exec env ${var}=$(systemd-ask-password --accept-cached --keyname="pwenv.${var}" "${var}: ") "$@"
|